Titanium JIRA Archive
Appcelerator Community (AC)

[AC-562] Android: cannot list files in a sources directory with Filesystem.getFiles - getDirectoryListing

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionDuplicate
Resolution Date2016-01-11T09:38:56.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterMauro Piccotti
AssigneeShak Hossain
Created2016-01-11T07:41:05.000+0000
Updated2016-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

  1. Mostafizur Rahman 2016-01-11

JSON Source