cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ian Clelland (JIRA)" <>
Subject [jira] [Commented] (CB-5677) Forces Internal Storage in File plugin
Date Tue, 04 Feb 2014 15:00:18 GMT


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:

<preference name="AndroidPersistentFileLocation" value="Internal" />

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:
>             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

View raw message