-
Notifications
You must be signed in to change notification settings - Fork 76
How can i clear all data when ios app is uninstalled in react-native-encrypted-storage #87
Comments
Same question, my app doesn't work correctly because of the old data. Please, help us to resolve this issue. |
I have the same question, I have read the note regarding keychain but the documentation seems to be outdated because AppDelegate.m is no more in new react-native project, we have AppDelegate.mm (double "m") and the instructions is not working with the new AppDelegate.mm file. |
Does anyone have an update? |
Putting the same code in the new AppDelegate.mm file should work, we have code based off that example in my project and it functions properly. |
Thankfully using the code references in that link above in the AppDelegate.mm file worked for me. Just tested it a few moments ago. |
I tried the above on iOS and Mac Catalyst. On iOS, it works fine. But on Catalyst if I drag and drop to Trash, the data still persists. However, if I use AppCleaner to delete the app, the persisted data gets deleted. Any idea what's causing this inconsistency? (Using RN 0.71.11 on both platforms, with the AppDelegate.mm file) |
I am using react-native-encrypted-storage. When I uninstall an app and then reinstall it, my old data still exists. How can I clear all data when uninstalling an ios app?
The text was updated successfully, but these errors were encountered: