I want my app to remember the preferences.we wont keep our app on play store.every time after reinstalling(next version) the app preferences are getting deleted.how can i resolve this?
Asked
Active
Viewed 170 times
-1
-
Possible duplicate of [Data save for an android app after it uninstall or force data clear from settings](https://stackoverflow.com/questions/21719922/data-save-for-an-android-app-after-it-uninstall-or-force-data-clear-from-setting) – AskNilesh Mar 26 '18 at 11:09
-
https://stackoverflow.com/questions/35029377/sharedpreferences-not-being-removed-on-user-uninstalling-application – AskNilesh Mar 26 '18 at 11:10
1 Answers
0
From Data save for an android app after it uninstall or force data clear from settings, you can use a Google Backup. You can also try to create an external file that saves data.
https://developer.android.com/training/data-storage/files.html (choose external for saving)
However, the user can delete the files.