[ 
https://issues.apache.org/jira/browse/CB-10664?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fabrizio Bottino updated CB-10664:
----------------------------------
    Environment: Android  (was: Android (tested on 5.1.x / 6.0.x))
         Labels: android  (was: android triaged)
    Description: 
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" ?

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

     Issue Type: New Feature  (was: Bug)
        Summary: Add an Android cordova.file.<variable> like 
externalDataDirectory to allow writing directly to SDCARD  (was: Android 
cordova.file.externalDataDirectory does not write to sdcard)

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

Reply via email to