Titanium JIRA Archive
Appcelerator Community (AC)

[AC-1046] Ti.Filesystem.isExternalStoragePresent() returns true even when an Android device doesn't have an external storage like an SD card

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionDuplicate
Resolution Date2015-04-09T23:23:55.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAppcelerator Modules
LabelsTCSupportTriage, externalstorage, filesystem, titanium
ReporterJune Rockwell
AssigneeRadamantis Torres-Lechuga
Created2014-10-01T21:34:37.000+0000
Updated2016-03-08T07:37:23.000+0000

Description

if (OS_ANDROID && Ti.Filesystem.isExternalStoragePresent()) { alert("This android device has external storage present."); } This if-statement is always true even when my HTC One doesn't have an SD Card. To prove that my HTC One doesn't have any external storage, I've provided a screenshot.

Attachments

FileDateSize
Screenshot_2014-10-01-14-31-54.png2014-10-01T21:34:37.000+0000160294

Comments

  1. Harish Mridha 2015-04-09

  2. Radamantis Torres-Lechuga 2015-04-09

JSON Source