freshplanet / ANE-Google-Play-Game-Services

Enable user to log in with Google+ to upload high score and achievements
Apache License 2.0
57 stars 42 forks source link

SignIN fails on second attempt #25

Open surajDico opened 10 years ago

surajDico commented 10 years ago

With the new update (/tree/feature/updated-google-play), Sign In fails if the user logs out from Google Plus , and subsequently tries to login.

Process to repeat

1) Start App. Game will automatically sign in to Google Play Services 2) Access Achievements / Leaderboard 3) Sign Out 4) Try to Sign in Again.

Following error log :

09-03 19:21:53.817: I/AirGooglePlayGames: sign in activiy started 09-03 19:21:53.817: I/AirGooglePlayGames: shouldStartSignInFlow2 : true 09-03 19:21:53.817: I/AirGooglePlayGames: autosignIn 09-03 19:21:53.817: D/GameHelper(4274): GameHelper: onStart 09-03 19:21:53.817: D/GameHelper(4274): GameHelper: Not attempting to connect becase mConnectOnStart=false 09-03 19:21:53.817: D/GameHelper(4274): GameHelper: Instead, reporting a sign-in failure. 09-03 19:21:53.817: I/AirGooglePlayGames: signIn 09-03 19:21:53.817: D/GameHelper(4274): GameHelper: beginUserInitiatedSignIn: resetting attempt count. 09-03 19:21:53.827: W/GameHelper(4274): !!! GameHelper WARNING: beginUserInitiatedSignIn() called when already connecting. Be patient! You can only call this method after you get an onSignInSucceeded() or onSignInFailed() callback. Suggestion: disable the sign-in button on startup and also when it's clicked, and re-enable when you get the callback. 09-03 19:21:53.887: I/brcm-gr(4274): [gralloc_lock]: new usage 0x933 09-03 19:21:54.808: D/GameHelper(4274): GameHelper: Notifying LISTENER of sign-in FAILURE (no error) 09-03 19:21:54.808: I/AirGooglePlayGames: onSignInFailed 09-03 19:21:54.808: I/AirGooglePlayGames: ON_SIGN_IN_FAIL

Please someone who has faced this issue and has a solution, reply asap. thanks