{ "id": "171096", "key": "AC-5596", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2018-02-13T13:19:19.000+0000", "created": "2018-02-13T12:44:52.000+0000", "labels": [ "7.0.1", "Android", "Ti.SDK" ], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2018-02-13T13:48:42.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "When i call Ti.Filesystem.hasStoragePermission() method, it gives me an error.So i removed \"()\" and after going inside of requestStoragePermissions i get success but again when i check hasStoragePermission then it gives \"undefined\". \r\n\r\nIf i use only Ti.Filesystem.hasStoragePermission then its not giving an error but i am not sure whether its working actual or not.", "attachment": [ { "id": "64849", "filename": "Screen Shot 2018-02-13 at 12.16.56 PM.png", "author": { "name": "sonufana4u", "key": "sonufana4u", "displayName": "sonufana4u", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2018-02-13T12:42:17.000+0000", "size": 40721, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: Filesystem StoragePermission", "creator": { "name": "sonufana4u", "key": "sonufana4u", "displayName": "sonufana4u", "active": true, "timeZone": "Asia/Kolkata" }, "subtasks": [], "reporter": { "name": "sonufana4u", "key": "sonufana4u", "displayName": "sonufana4u", "active": true, "timeZone": "Asia/Kolkata" }, "environment": "Operating System\r\n Name = Mac OS X\r\n Version = 10.13.1\r\n Architecture = 64bit\r\n # CPUs = 4\r\n Memory = 8589934592\r\nNode.js\r\n Node.js Version = 8.9.3\r\n npm Version = 5.5.1\r\nTitanium CLI\r\n CLI Version = 5.0.14\r\nTitanium SDK\r\n SDK Version = 7.0.1.GA", "comment": { "comments": [ { "id": "434411", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Can you please attach the full error and trace log of the app running?", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-02-13T13:18:24.000+0000", "updated": "2018-02-13T13:18:24.000+0000" }, { "id": "434412", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Oh, you called {{hasStoragePermission}} instead of {{hasStoragePermissions}} as [documented here|http://docs.appcelerator.com/platform/latest/#!/api/Titanium.Filesystem-method-hasStoragePermissions]. Please fix that and follow the docs to handle file permissions. Cheers!", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-02-13T13:19:19.000+0000", "updated": "2018-02-13T13:19:19.000+0000" }, { "id": "434414", "author": { "name": "sonufana4u", "key": "sonufana4u", "displayName": "sonufana4u", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Ahh..My Bad..Earlier i was using one module so i kept the same function name.Thanks hans.", "updateAuthor": { "name": "sonufana4u", "key": "sonufana4u", "displayName": "sonufana4u", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2018-02-13T13:48:42.000+0000", "updated": "2018-02-13T13:48:42.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }