[
https://issues.apache.org/jira/browse/CB-5677?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13890743#comment-13890743
]
Ian Clelland commented on CB-5677:
----------------------------------
Hi Jonathon,
This will be possible with the new version of the File plugin (on dev branch
right now). When you upgrade to the new version, you'll need to put a
{{<preference>}} tag in your {{config.xml}} file that looks like this:
{code}
<preference name="AndroidPersistentFileLocation" value="Internal" />
{code}
That will cause it to use the internal storage for file references. Using
{{value="Compatibility"}} will use the old storage locations.
> Forces Internal Storage in File plugin
> --------------------------------------
>
> Key: CB-5677
> URL: https://issues.apache.org/jira/browse/CB-5677
> Project: Apache Cordova
> Issue Type: Improvement
> Components: Android, Plugin File
> Affects Versions: 3.2.0
> Environment: Android device with emulated sdcard
> Reporter: Jonathan Barette
> Assignee: Ian Clelland
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> Hi,
> We are using the File plugin to store files onto device storage. For the
> confidentiality, these files cannot be visualized by the user outside of the
> application. We would like to force to use INTERNAL storage but the
> "requestFileSystem" function returns still a path to the EXTERNAL storage in
> the case where a media is mounted. Is it possible to improve the plugin by
> supplying a new parameter in the "requestFileSystem" method specifying if we
> prefer to use INTERNAL or EXTERNAL storage.
> Kind regards,
> Jonathan Barette
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)