android - Using Auth.GoogleSignInApi.getSignInIntent(mGoogleApiClient) with Game Services -


i'm using auth.googlesigninapi.getsigninintent(mgoogleapiclient) prompt user select account game i'm creating using cordova. have built google api client in manner:

googlesigninoptions.builder gso = new googlesigninoptions.builder(googlesigninoptions.default_games_sign_in);  googleapiclient.builder builder = new googleapiclient.builder(webview.getcontext())     .addconnectioncallbacks(this)     .addonconnectionfailedlistener(this)     .addapi(games.api)     .addapi(auth.google_sign_in_api, gso.build());  mgoogleapiclient = builder.build();  private void signin() {     if (!this.mgoogleapiclient.isconnected()) {         intent signinintent = auth.googlesigninapi.getsigninintent(this.mgoogleapiclient);         cordova.getactivity().startactivityforresult(signinintent, rc_sign_in);     }     return; } 

the problem auth.googlesigninapi.getsigninintent(mgoogleapiclient) isn't producing popup allows user select account; rather, automatically selects 1 of emails , displays following: enter image description here


Comments

Popular posts from this blog

python - Selenium remoteWebDriver (& SauceLabs) Firefox moseMoveTo action exception -

html - How to custom Bootstrap grid height? -

Ruby Google Calendar Integration Watch Event / Push Notification -