Can Firebase Anonymous Uid Expire On Its Own On Android/ios Sdk?
Solution 1:
I also found that if you uninstall the app or clear app data in the Settings of Android, the auth is gone.
That's correct. Firebase Anonymous Authentication accounts does not persist across application uninstalls. If you uninstall the application, everything that was saved locally will be deleted, including the anonymous auth token that identifies that account.
But what I worried is that can the preserved auth expires on its own?
Anonymous auth token that identifies a user account don't expire. Firebase doesn't remove the token automatically or in any other way because it doesn't really know if a user is still storing data linked to that anonymous account.
For example the player played the game last year with anonymous ID without committing to linking to e-mail credential. If he come back a year later can he still access the same account? (The app is not reinstalled, just upgraded.)
If the player did not uninstall the app and he also did not clear the cache then he will definetely be able to play again with the same account.
Post a Comment for "Can Firebase Anonymous Uid Expire On Its Own On Android/ios Sdk?"