i'm having a problem where the localstorage doesn't get cleared when i uninstall the app (ionic app). It's only happening on my Samsung S7 Edge with Android 6 (at least is the only device with Android 6 that i have).
The only way of clearing it is by Clearing Data/Cache through the Application Manager of the device...
It works properly on other devices... Since the localstorage implementation is pretty straightforward I have no clue why this is happenning...
Any ideas?
go to your Mobile device app settings, selecta app and press the button to delete all data. Or alternatively implement a button in your app that allows the user to delete all data. On the button you need a client action that uses to delete all entity CRUD action to delete data for all entities.
At this point, you should be able to go into Settings | Application manager (or Apps on some devices), locate and tap the app listing, and then tap Uninstall to remove the app. You don't have to let app administrative privileges get in the way of removing those pesky apps you've tried and no longer want.
Yes, deleting an app removes the program and all its data. That means if you paid to purchase the app, you won't have to pay again should you choose to reinstall it.
I had problems adding those lines to my AndroidManifest.xml in my cordova /progject/platforms/android folder - each time I did it was overwritten every time I compiled the app. I had to add the following to my /project/config.xml file in order to get the manifest edits to take:
<edit-config file="AndroidManifest.xml"
target="/manifest/application"
mode="merge">
<application android:allowBackup="false"/>
<application android:fullBackupContent="false"/>
</edit-config>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With