Manage Users in Firebase
Let's look at how to retrieve and manage users' profiles in Firebase.
We previously discussed how to create, sign in, and sign out users. Now, let’s look at how to retrieve, manage, and update user profiles in Firebase.
Get the currently signed-in user
There are two ways of getting the signed-in user in our application—the onAuthStateChanged
function and the currentUser
property.