Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-16295] Ti.Filesystem.isExternalStoragePresent() always returns true on Android devices

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionInvalid
Resolution Date2014-07-14T13:47:10.000+0000
Affected Version/sRelease 3.2.0
Fix Version/sRelease 3.4.0
ComponentsTiAPI
Labelsipass1
ReporterJames Semple
AssigneeSunila
Created2014-01-23T10:33:05.000+0000
Updated2017-03-28T20:21:41.000+0000

Description

Any app released on Android which queries isExternalStoragePresent using the Ti.Filesystem method will return true whether external storage is present or not. This includes devices that have no facility for external storage (such as Nexus 7).

Comments

  1. Bert Grantges 2014-01-23

    Bump - have also validated this on Ti SDK 3.1.3
  2. Marko 2014-03-25

    Is this going to be fixed soon? Any workarounds?
  3. Bert Grantges 2014-03-27

    Seeing this with 3.2.2.GA as well - this needs to get fixed as it is causing errors across simulators and devices that don't have external storage
  4. Sunila 2014-07-14

    In Android, external storage doesn't mean that it is removable media like SD card. As per the documentation "This directory can better be thought as media/shared storage. It is a filesystem that can hold a relatively large amount of data and that is shared across all applications (does not enforce permissions)". I think the behavior of this property is correct. If required, we should expose another property to check if the external storage is removable or not.
  5. Eric Merriman 2017-03-28

    Closing as invalid. Reopen if you continue to have issues.

JSON Source