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 si
If you check the Firebase Auth Quickstart sample code, the sign-out for Google provider includes these steps.
Are you calling Auth.GoogleSignInApi.signOut()
when you sign-out? So, please use this code:
private void signOut() {
// Firebase sign out
mAuth.signOut();
// Google sign out
Auth.GoogleSignInApi.signOut(mGoogleApiClient).setResultCallback(
new ResultCallback() {
@Override
public void onResult(@NonNull Status status) {
//do what you want
}
});
}