[AC-562] Android: cannot list files in a sources directory with Filesystem.getFiles - getDirectoryListing
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2016-01-11T09:38:56.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Mauro Piccotti |
Assignee | Shak Hossain |
Created | 2016-01-11T07:41:05.000+0000 |
Updated | 2016-01-11T09:39:20.000+0000 |
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.
In iOS it works, but in Android apparently I cannot read files contained inside that directory.
I reproduced the bug in a test environment you can download from here:
https://github.com/nonno/Ti.TestProject/tree/dynamic-require-bug
(you should click on the label)
I've found one guy with the same problem on your old forum, but now it's closed and there isn't an answer:
https://developer.appcelerator.com/question/179048/where-are-my-alloy-lib-files-in-the-filesystem-on-android
Comments
- Mostafizur Rahman 2016-01-11