[ 
https://issues.apache.org/jira/browse/CB-5915?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ian Clelland updated CB-5915:
-----------------------------

    Description: 
iOS Persistent files are stored in an inconvenient place by default: The 
application's documents directory, which means that all files created are 
exposed by default in itunes.

Extensive discussion here: http://apache.markmail.org/thread/vlu55ppwkgh2bn56

There should be a single preference in config.xml for iOS persistent files. It 
can take one of two values (currently; additional values may be added later if 
we have better ideas)

{code}
<preference name="iosPersistentFileLocation" value="Compatibility" /> (Old 
location)

<preference name="iosPersistentFileLocation" value="Library" /> (New location)
{code}


"Library" will put persistent files under {{<Application Library Path>/files}} 
-- the extra {{/files}} means that other filesystem plugins can register roots 
at different places under {{<Application Library Path>}} which will not be 
visible to one another.

  was:
iOS Persistent files are stored in an inconvenient place by default: The 
application's documents directory, which means that all files created are 
exposed by default in itunes.

Extensive discussion here: http://apache.markmail.org/thread/vlu55ppwkgh2bn56

There should be a single preference in config.xml for iOS persistent files. It 
can take one of two values (currently; additional values may be added later if 
we have better ideas)

{code}
<preference name="iosPersistentFileLocation" value="Documents" /> (Old location)

<preference name="iosPersistentFileLocation" value="Library" /> (New location)
{code}


"Library" will put persistent files under {{<Application Library Path>/files}} 
-- the extra {{/files}} means that other filesystem plugins can register roots 
at different places under {{<Application Library Path>}} which will not be 
visible to one another.


> Change iOS filesystem root location
> -----------------------------------
>
>                 Key: CB-5915
>                 URL: https://issues.apache.org/jira/browse/CB-5915
>             Project: Apache Cordova
>          Issue Type: Sub-task
>          Components: iOS, Plugin File
>            Reporter: Ian Clelland
>            Assignee: Ian Clelland
>
> iOS Persistent files are stored in an inconvenient place by default: The 
> application's documents directory, which means that all files created are 
> exposed by default in itunes.
> Extensive discussion here: http://apache.markmail.org/thread/vlu55ppwkgh2bn56
> There should be a single preference in config.xml for iOS persistent files. 
> It can take one of two values (currently; additional values may be added 
> later if we have better ideas)
> {code}
> <preference name="iosPersistentFileLocation" value="Compatibility" /> (Old 
> location)
> <preference name="iosPersistentFileLocation" value="Library" /> (New location)
> {code}
> "Library" will put persistent files under {{<Application Library 
> Path>/files}} -- the extra {{/files}} means that other filesystem plugins can 
> register roots at different places under {{<Application Library Path>}} which 
> will not be visible to one another.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to