0
How to get my App to log in after waxing?
Ex: I logged in once and every time I start the application again it already starts logged in.
0
How to get my App to log in after waxing?
Ex: I logged in once and every time I start the application again it already starts logged in.
0
According to the documentation Manage users in Firebase, the recommended way to identify the connected user is to call the method getCurrentUser()
. If no user is logged in, getCurrentUser()
returns a null value.
Example:
FirebaseUser user = FirebaseAuth.getInstance().getCurrentUser();
if (user != null) {
// Usuário está logado
} else {
// usuário não está logado
}
Browser other questions tagged java android android-studio firebase
You are not signed in. Login or sign up in order to post.