0

I want to make firebase auth anonymous login for my application. I store this information in firebase realtime. FirebaseAuth.getInstance().signOut(); when this person logs out of their account Is it possible to get it back into the same account? I don't want to create a new account, I want to make it login to anonymous account. I am saving uuid during registration. How can I do that?

Lib: https://firebase.google.com/docs/auth/android/anonymous-auth

Regards

Nazif
  • 11
  • 2

1 Answers1

1

Once a user signs out of an anonymous account there is no way to regain the same UID for that user. If this is a requirement for your app, you will have to implement a custom provider somehow tying the UID of your users to the app instance.

Also see:

Frank van Puffelen
  • 565,676
  • 79
  • 828
  • 807