Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-5469] Don't store app data in root of sd card directory

GitHub Issuen/a
TypeNew Feature
PriorityLow
StatusClosed
ResolutionCannot Reproduce
Resolution Date2016-08-22T17:30:07.000+0000
Affected Version/sSprint 2011-33
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterAllen Yeung
AssigneeIngo Muschenetz
Created2011-10-07T15:09:07.000+0000
Updated2017-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+.

Comments

  1. Chris Barber 2016-08-22

    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.
  2. Lee Morris 2017-03-16

    Closing ticket as the issue cannot be reproduced.

JSON Source