I have begin to use Firebase but my experience is terrible.
I cannot sign out user.
I have tried different things and spend all my 4 days to figure out how to sign out user but there is not clear option.
I want to sing out user totally so they can select another gmail account .
I have tried below code:
FirebaseUser user = firebaseAuth.getCurrentUser();
user.unlink(user.getProviderId()); FirebaseAuth.getInstance().signOut();
inside of
mAuth = FirebaseAuth.getInstance();//mAuth.signOut();
//auth fail olarsa mAuth.signOut(); sil sonra yerne qoy
mAuthListener = new FirebaseAuth.AuthStateListener() {
@Override
public void onAuthStateChanged(@NonNull FirebaseAuth firebaseAuth) {
I have tried also this:Properly log out a user from android app