Skip to content
This repository was archived by the owner on Mar 27, 2022. It is now read-only.
This repository was archived by the owner on Mar 27, 2022. It is now read-only.

Error: Failed to silent signin, trying explicit signin - com.google.android.gms.common.api.ApiException: 4: 4:  #7

@d-apps

Description

@d-apps

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...

meta

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}

    void signIn() async {

    isLoading = true;

    SigninResult result = await PlayGames.signIn();
    if (result.success) {
      await PlayGames.setPopupOptions();

      //user = User(result.account);
      Account profile = result.account;

      print("NOME DA CONTA: ${profile.displayName}");
      print("hiResImageUri DA CONTA: ${profile.hiResImageUri}");
      print("iconImageUri DA CONTA: ${profile.iconImageUri}");

    } else {
      String error = result.message;
      print("ERRO GOOGLE PLAY GAMES: $error");
    }

    isLoading = false;
  }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions