Force the localstorage to clear on application reinstall?

Force the localstorage to clear on application reinstall?

BY 02 Dec 2023 Web Application Development
We’re noticing that local storage is not cleared during an application install when deploying an app via the cli tizen install, we would like the behaviour to be the same as if the user deleted the application and installed the app. Is there a way to invoke a callback when the application is removed from the system?
Written by