I am using Ionic 2 storage for storing user credentials. On uninstalling the App, storage is not clearing so after re-installing, the App is picking up the user credential of the previous user.
This issue is occurring only in signed APKs. Tested on samsung on7 and lenova vibe models.
How to clear the storage on uninstall? what I am doing wrong?
you should not need to do anything for this to happen. This looks like a bug in ionic 2
Ionic forum discussion
Set android:allowBackup to false in AndroidManifest to XML