简体   繁体   中英

Firebase Auth Anonymouse Registration/Login for Android java

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

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:

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM