-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IOS: storage does not get cleared on app uninstall #31
Comments
This is just part of how keychain works on iOS. You can update your app delegate to remove keys on first launch. |
Oh, thanks for the heads up. Closing this. |
@tjblackheart Did you manage to get the wrapper to delete on first launch? I added the check as mentioned in the comment but nothing gets delete, so not sure if I'm missing something else? |
Hey @dahyui, I have no IOS machine for developing on, so I did a similar workaround: In the (unencrypted) capacitor store I check for a "first_run" key, if that's not there, I just force delete everything and then set it. Works well enough for me but probably doesn't answer your question, sorry about that. |
Tried but removeAllKeys() returns false and Keychain is not cleared |
See title. On testing the app on IOS 11 out of Testflight the storage does not get cleared after an app uninstall and all data still is there if you install again. I suppose that's an IOS thing ... is there a way to force this? Works fine on Android devices though. The data in the store is just one entry as a big(gish) JSON string.
The text was updated successfully, but these errors were encountered: