[TIMOB-24536] Android: Implement getExternalFilesDir in Ti.Filesystem
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | n/a |
Status | Open |
Resolution | Unresolved |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Daniel Ethier |
Assignee | Unknown |
Created | 2017-03-26T20:38:49.000+0000 |
Updated | 2018-02-28T19:55:07.000+0000 |
Description
Currently, Titanium SDK apps can get paths save data in applicationDataDirectory or externalDataStorage (which seems to go to the SD card if one is installed). Android provides primary external storage for apps. They can retrieve that path using the getExternalFilesDir function. See
https://developer.android.com/reference/android/content/Context.html#getExternalFilesDir(java.lang.String)
It would be helpful for apps to have access to this directory so they can save documents that are visible to the user (to transfer documents to another device) or to sync using apps like FolderSync. Documents saved in the private app data directory are not visible outside of the app itself.
Please add a field to Ti.Filesystem to provide this directory.
Hello, Thanks for submitting the ticket. Our engineering team will consider it.