cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ian Clelland (JIRA)" <>
Subject [jira] [Created] (CB-5915) Change iOS filesystem root location
Date Tue, 28 Jan 2014 13:52:40 GMT
Ian Clelland created CB-5915:

             Summary: Change iOS filesystem root location
                 Key: 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:

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)

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

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

"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

View raw message