[TIMOB-5469] Don't store app data in root of sd card directory
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Low |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2016-08-22T17:30:07.000+0000 |
Affected Version/s | Sprint 2011-33 |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Allen Yeung |
Assignee | Ingo Muschenetz |
Created | 2011-10-07T15:09:07.000+0000 |
Updated | 2017-03-16T21:38:00.000+0000 |
Description
We currently store app data under the /mnt/sdcard/. This does not get removed when the app is deleted. We may want to move it to where getExternalFilesDir() is located, since that should be removed along with the app. We can't use getExternalFilesDir() since it's only available API level 8+.
Cannot reproduce. Just tested it with an app built with Titanium SDK master (currently 6.1.0) and an Android 6.0 (API 23) emulator and once the app was installed, the app data was actually written to
/mnt/sdcard/Android/data/<appid>
, not/mnt/sdcard/<appid>
. Furthermore, when uninstalling the app, the/mnt/sdcard/Android/data/<appid>
was removed as expected.Closing ticket as the issue cannot be reproduced.