Advertisements

Checking User Firebase Auth

    FirebaseUser currentUser = mAuth.getCurrentUser();
    if (currentUser == null) {
//No one signed in
      startActivity(new Intent(this, SignInActivity.class));
      this.finish();
    }