In our app we have a feature that is time-limited. Also, the feature is available once only per device, i.e. even if the application is uninstalled and installed, this feature will not be available again.
We need a facility that:
-persist after app uninstall
-users cannot delete it (short of total phone restore)
-the information itself is two flags only, nothing big
In iOS we implemented this by storing two flags in the KeyChain. Even if the app is uninstalled, these two flags persist and at the next app installation they are read, indicating that this application has already been installed before and the feature has been already activated.
Can we use the same approach in Android, i.e. use its KeyChain to store two flags that will persist after install and cannot be deleted?