Error: Failed to silent signin, trying explicit signin - com.google.android.gms.common.api.ApiException: 4: 4: #7
Comments
I have a same problem. Can anyone help? |
Testing the "example folder" I got the same error. |
Man, configuring this play games thing is a hassle... I had to try for a long, long time to get it working, and I always got this error status=4 that has no description. I'd suggesting reading the tutorial over again to check if anything is missing. From what you said:
other than that, I'm clueless. but let's keep investigating and hoping that someday some google employee can help us out with better error messages... |
@luanpotter do you know where I need to configure the testers and the draft mode? Google Play Console? For your third point, I just need to add the local dev key and playstore key in the settings of the firebase console or did I get something wrong? |
@astrophysik what I mean with draft mode and testers is the exact steps described in the tutorial... If you've done that, I really don't know, I put my best effort to try to make a complete guide on how to make this work, but docs on this are really terrible. For the third point, no, I believe you need to add the local key and also the google play key from the google play console to firebase, because google play signs your app over your own key. Other than that, I really don't know how to solve this error, I was gettiung One alternative would be to use this other scoring system that my associate @erickzanardo has created: https://github.com/fireslime/firescore It does not offer more than scoring & leaderboards though. Hopefully one day google can make our lives easier by commenting here with better instructions or tips. |
Wnated to let you know, it works for me now. I just downloaded the SDK Tools for Google play services in the SDK Manager in Android Studio. Just didn't have them before. Maybe you could add a sentence or two in the documentation about that. |
Good catch, @astrophysik! I assume you were using the emulator then, right? We should definitely add that note, do you want to put up a PR? |
I am trying to test my project but when I call signIn method I get this error, I followed everything of this tutorial: https://github.com/flame-engine/play_games/blob/master/doc/signin.md
My app isn't published yet on Play Store, could it be the problem?
About meta-data, I am setting my appid directly, and I am confused about gms version, if i need to create @integers, and where etc...
I/xyz.luan.games.play.playgames.PlayGamesPlugin( 9780): Failed to silent signin, trying explicit signin I/xyz.luan.games.play.playgames.PlayGamesPlugin( 9780): com.google.android.gms.common.api.ApiException: 4: 4: I/xyz.luan.games.play.playgames.PlayGamesPlugin( 9780): at com.google.android.gms.common.internal.ApiExceptionUtil.fromStatus(Unknown Source) I/xyz.luan.games.play.playgames.PlayGamesPlugin( 9780): at com.google.android.gms.common.internal.zai.zaf(Unknown Source) I/xyz.luan.games.play.playgames.PlayGamesPlugin( 9780): at com.google.android.gms.common.internal.zaj.onComplete(Unknown Source) I/xyz.luan.games.play.playgames.PlayGamesPlugin( 9780): at com.google.android.gms.common.api.internal.BasePendingResult.zaa(Unknown Source) I/xyz.luan.games.play.playgames.PlayGamesPlugin( 9780): at com.google.android.gms.common.api.internal.BasePendingResult.setResult(Unknown Source) I/xyz.luan.games.play.playgames.PlayGamesPlugin( 9780): at com.google.android.gms.auth.api.signin.internal.zzj.zzc(Unknown Source) I/xyz.luan.games.play.playgames.PlayGamesPlugin( 9780): at com.google.android.gms.auth.api.signin.internal.zzt.dispatchTransaction(Unknown Source) I/xyz.luan.games.play.playgames.PlayGamesPlugin( 9780): at com.google.android.gms.internal.auth-api.zzd.onTransact(Unknown Source) I/xyz.luan.games.play.playgames.PlayGamesPlugin( 9780): at android.os.Binder.execTransact(Binder.java:453)
I/flutter (11282): ERRO GOOGLE PLAY GAMES: Unexpected error Status{statusCode=INTERNAL_ERROR, resolution=null}
The text was updated successfully, but these errors were encountered: