{ "id": "154208", "key": "AC-562", "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": "2016-01-11T09:38:56.000+0000", "created": "2016-01-11T07:41:05.000+0000", "labels": [], "versions": [], "issuelinks": [ { "id": "50251", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "153893", "key": "TIMOB-20223", "fields": { "summary": "Android: cannot list files on lib directory with Filesystem.getFiles - getDirectoryListing", "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" } }, "priority": { "name": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-01-11T09:39:20.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": [], "description": "I create a \"lib/repositories\" dir in app directory, and under this dir I put some kind of commonjs modules I would like to load dinamically.\r\nIn iOS it works, but in Android apparently I cannot read files contained inside that directory.\r\n\r\nI reproduced the bug in a test environment you can download from here: \r\nhttps://github.com/nonno/Ti.TestProject/tree/dynamic-require-bug \r\n(you should click on the label)\r\n\r\nI've found one guy with the same problem on your old forum, but now it's closed and there isn't an answer:\r\nhttps://developer.appcelerator.com/question/179048/where-are-my-alloy-lib-files-in-the-filesystem-on-android", "attachment": [], "flagged": false, "summary": "Android: cannot list files in a sources directory with Filesystem.getFiles - getDirectoryListing", "creator": { "name": "pic", "key": "pic", "displayName": "Mauro Piccotti", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "pic", "key": "pic", "displayName": "Mauro Piccotti", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Android 5.0.2 \r\nSDK 5.1.1.GA \r\nSamsung Galaxy Tab S2", "comment": { "comments": [ { "id": "374169", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "updateAuthor": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2016-01-11T09:38:56.000+0000", "updated": "2016-01-11T09:38:56.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }