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

Jason Ginchereau resolved CB-10664.
-----------------------------------
    Resolution: Not A Bug

"External" refers to Android application external storage, which is not 
necessarily on an SD card, even on a device that has an SD card installed. It 
depends on how the Android device manufacturer has configured storage on the 
device. Many devices have application "external" storage configured to point to 
the built-in storage. See some discussion of that here: 
http://stackoverflow.com/questions/12087510/check-if-the-sdcard-is-present-boolean-is-always-true

The Cordova file plugin doesn't currently expose the Android SD card storage 
otherwise, but that would be a feature request, not a bug.

> Android cordova.file.externalDataDirectory does not write to sdcard
> -------------------------------------------------------------------
>
>                 Key: CB-10664
>                 URL: https://issues.apache.org/jira/browse/CB-10664
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin File
>         Environment: Android (tested on 5.1.x / 6.0.x)
>            Reporter: Fabrizio Bottino
>              Labels: android, triaged
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to