[
https://issues.apache.org/jira/browse/CB-10664?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Fabrizio Bottino reopened CB-10664:
-----------------------------------
Edited request as new feature and not bug
> Add an Android cordova.file.<variable> like externalDataDirectory to allow
> writing directly to SDCARD
> -----------------------------------------------------------------------------------------------------
>
> Key: CB-10664
> URL: https://issues.apache.org/jira/browse/CB-10664
> Project: Apache Cordova
> Issue Type: New Feature
> Components: Plugin File
> Environment: Android
> Reporter: Fabrizio Bottino
> Labels: android
>
> Using a device with "large" internal memory you can't write explicitly to
> sdcard: every write is emulated to internal memory, even using
> cordova.file.externalDataDirectory.
> Example: I have two identical tablets, one with sdcard and one without.
> When I write to cordova.file.externalDataDirectory they both write to
> file:///storage/emulated/0/Android/data/<app-id>/files/ when I expect one of
> them to write to sdcard.
> Can we add a new variable to write explicitly to SDCARD if it's present, even
> when device manufacturer has configured part of the internal storage to act
> as "external" ?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]