Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

how to check the current user in firebase android

@Override
public void onStart() {
    super.onStart();
    FirebaseUser currentUser = mAuth.getCurrentUser();
    if (currentUser == null) {
        // No user is signed in
    } else {
        // User logged in
    }
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #check #current #user #firebase #android
ADD COMMENT
Topic
Name
4+5 =