Ian Clelland created CB-5915:
--------------------------------
Summary: 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="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.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)