Android Question Reset data of KeyValueStore

vinpolins

Member
I use KeyValueStore lib to store some settings for the app.

The problem is that when I uninstalled the app and reinstall it, the app's settings data (stored by KeyValueStore lib) is still persist.

I want the app's settings data to be cleaned/reset after uninstalling the app (as it should be).
How that can be done?

Or how to [manually] clean/reset the app's settings data stored by KeyValueStore lib?
 

vinpolins

Member
Thanks for the solution.

I found another weird symptom: I implement KeyValueStore lib in the same way. However,
- in some apps, the settings data (stored by KeyValueStore lib) is persist after uninstalling/reinstalling the app.
- in some other apps, the settings data is reset/clear after uninstalling/reinstalling the app.

(P.S: I have not used the above solution yet)

I have no idea why it is like that?
 
Upvote 0
Top