FirebaseExtended / firebase-video-samples

This repository contains sample code for some of the videos on the Firebase YouTube channel.
https://www.youtube.com/c/firebase
Apache License 2.0
113 stars 114 forks source link

Add Anonymous Authentication and Account Center to Android samples #50

Closed marinacoelho closed 8 months ago

marinacoelho commented 8 months ago

This PR adds Anonymous Authentication to the Android sample app. The new authentication method is called from AccountServiceImpl, and used as soon as the app starts, in the SplashScreen. It also adds the Account Center screen, where the user can see their profile (email, uid, account provider and display name), update their display name, sign in to their account, or create a new account and link the existing Anonymous account to it. Once the user is signed in, the Account Center changes it's UI to reflect the new account options: sign out and delete account.

non-anonymous-profile anonymous_profile