Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It can't. It can uninstall them, but then the app doesn't have any data after reinstallation.


I have no idea whether there are any APIs the Play Store has access to which expose that feature, but through ADB (or directly calling the package manager from the shell of a rooted device) you have been able to instruct Android to keep the app data even after uninstalling for a long time already.

(I haven't actually tried whether you can really successfully switch signatures on an APK that way without losing all user data, tough)

Additionally, starting from Android 10 it seems that there is a new official feature allowing data to be kept after uninstallation if an app opts-in (https://stackoverflow.com/questions/58750567/how-to-enable-o...).




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: