I want to clean the User AuthData Saved in Mobile upon uninstall. AuthData is saved using AsyncStorage. Is there any mechanism by which I can detect App Uninstall in ReactNative
' Additionally, you can press Option+Shift+Command+K. To clean the Android studio cache, open the Android Studio menu and click 'Tools,' then 'AVD Manager,' and select the menu in your emulator and select 'wipe data.
React native asyncstorage provide removeItem() method to remove stored value from asyncstorage, it will delete stored key value paired data in asyncstorage.
Doesn't seem possible, especially if your app is not running at the time they uninstall. However, there seems to be a couple approaches you can take, but neither is perfect.
UIApplicationWillTerminateNotification
(see Detect iOS application about to delete?)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