{ "id": "137558", "key": "AC-1046", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2015-04-09T23:23:55.000+0000", "created": "2014-10-01T21:34:37.000+0000", "labels": [ "TCSupportTriage", "externalstorage", "filesystem", "titanium" ], "versions": [], "issuelinks": [], "assignee": { "name": "rtlechuga", "key": "rtlechuga", "displayName": "Radamantis Torres-Lechuga", "active": false, "timeZone": "Asia/Dubai" }, "updated": "2016-03-08T07:37:23.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14550", "name": "Appcelerator Modules", "description": "Please enter tickets related to Modules here." } ], "description": " if (OS_ANDROID && Ti.Filesystem.isExternalStoragePresent()) {\r\n alert(\"This android device has external storage present.\");\r\n }\r\n\r\nThis if-statement is always true even when my HTC One doesn't have an SD Card. \r\n\r\nTo prove that my HTC One doesn't have any external storage, I've provided a screenshot.", "attachment": [ { "id": "51767", "filename": "Screenshot_2014-10-01-14-31-54.png", "author": { "name": "jhrockwell", "key": "jhrockwell", "displayName": "June Rockwell", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-10-01T21:34:37.000+0000", "size": 160294, "mimeType": "image/png" } ], "flagged": false, "summary": "Ti.Filesystem.isExternalStoragePresent() returns true even when an Android device doesn't have an external storage like an SD card", "creator": { "name": "jhrockwell", "key": "jhrockwell", "displayName": "June Rockwell", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jhrockwell", "key": "jhrockwell", "displayName": "June Rockwell", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium SDK 3.4.0GA, HTC One Android 4.4.2", "comment": { "comments": [ { "id": "349029", "author": { "name": "hmrida", "key": "hmrida", "displayName": "Harish Mridha", "active": true, "timeZone": "Asia/Dhaka" }, "updateAuthor": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "created": "2015-04-09T09:05:17.000+0000", "updated": "2015-04-09T09:34:50.000+0000" }, { "id": "349113", "author": { "name": "rtlechuga", "key": "rtlechuga", "displayName": "Radamantis Torres-Lechuga", "active": false, "timeZone": "Asia/Dubai" }, "updateAuthor": { "name": "rtlechuga", "key": "rtlechuga", "displayName": "Radamantis Torres-Lechuga", "active": false, "timeZone": "Asia/Dubai" }, "created": "2015-04-09T23:23:55.000+0000", "updated": "2015-04-09T23:23:55.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }