Android GoogleSignIn: Multiple accounts at the same time + deferred sign-in upon failure
问题 I'm coding an app which makes use of Firebase Authentication to authenticate with my backend server. I'm offering Google Sign-In and Email/Password based authentication. Email/Password is trivial. This is my flow for using Google Sign-In: 1) I create a mGoogleApiClient = new GoogleApiClient with .addApi(Auth.GOOGLE_SIGN_IN_API, gso) , where gso = GoogleSignInOptions with .requestIdToken(...)) and .requestEmail() 2) I call startActivityForResult( signInIntent , RC_GOOGLE_SIGN_IN); where