I create anonymous user in my iOS app and I wonder if when the app update, the User anonymous session will persist or not? Because app is deleted but not everything when updating an app (UserDefault persists for example)
The Firebase Authentication user will remain signed in when you update the app. I recommend that you test this: any time you rebuild-and-reinstall the app from Android Studio is essentially what an upgrade through the Play store does.
When you uninstall the app, the Firebase Authentication user data is deleted too. When using anonymous authentication, this means that the UID is lost and cannot be reclaimed after reinstalling the app. If it is a requirement for your app that the user can continue after uninstall/reinstall, you should allow them to sign in with credentials that they can repeat across such a reinstall (i.e. any other provider where they actually identify themselves).
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