Clear app storage after uninstalling the app


#1

Hello all,

I want to clear app local storage after uninstalling the app.

Thanks in advanced!


#2

Local Storage is cleared after uninstalling the app.
But maybe it is recreated from online/cloud backup on reinstalling the app.

You are talking about Android, right?
There is something you can tell Cordova to not back this up by putting something in the config.xml but I don’t recall right now but you should be able to google it with this information.


#3

Actually, I am using Ionic native storage.

I want to clear this after app is uninstalled


#4

With or without SQLite as data backend?

Same: Ionic Storage uses traditional Local Storage (or similar) as backend and this is deleted when you deinstall your app. Unless… (read all the stuff in my previous post).