cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Ginchereau (JIRA)" <>
Subject [jira] [Resolved] (CB-10664) Android cordova.file.externalDataDirectory does not write to sdcard
Date Fri, 26 Feb 2016 23:34:18 GMT


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:

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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message