You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When user uninstall the app and then reinstall the storage is still available. It should get clear on uninstall. Is there a way to clear storage on app uninstall. Facing this behaviour on both Android and IOS.
The text was updated successfully, but these errors were encountered:
If you are still facing the issue - the plugin stores with custom KeychainWrapper instance, hence KeychainWrapper.standard descibed in the link will not work.
This does:
if !UserDefaults.standard.bool(forKey: "firstTimeLaunchOccurred") {
// capacitor secure storage plugin stores with custom keychain instance
let keychainWrapper = KeychainWrapper.init(serviceName: "cap_sec")
keychainWrapper.removeAllKeys()
UserDefaults.standard.set(true, forKey: "firstTimeLaunchOccurred")
}
When user uninstall the app and then reinstall the storage is still available. It should get clear on uninstall. Is there a way to clear storage on app uninstall. Facing this behaviour on both Android and IOS.
The text was updated successfully, but these errors were encountered: