Skip to content

1.0.2: Client never reaches out for auth request #11

@dgates

Description

@dgates

I've downloaded the Unity package for 1.0.2 and set up the sample scene with my web client-id. When pressing the Sign-in button in the app, it displays "Calling Sign In" however no response is ever received, and no activity log is noted in Google to indicate a login attempt was made. No prompt is ever displayed requesting a login and password. I've followed the steps in the documentation as closely as possible. Any troubleshooting suggestions?

Activity

claywilkinson

claywilkinson commented on Jan 2, 2018

@claywilkinson
Contributor

Can you share the output of logcat from when the app starts to when you click the sign-in button?

rendiarya

rendiarya commented on Mar 5, 2018

@rendiarya

hi @claywilkinson , i have same issue here, any suggest for me?

i just add log like this

    AddStatusText("Calling SignIn");
AddStatusText("Calling SignIn2");
    GoogleSignIn.DefaultInstance.SignIn().ContinueWith(OnAuthenticationFinished);
AddStatusText("Calling SignIn3");

but the last text never came out ("Calling Signin3")

amiroveisi

amiroveisi commented on Mar 27, 2018

@amiroveisi

I'm facing the same problem
Any solutions?

amiroveisi

amiroveisi commented on Mar 29, 2018

@amiroveisi

@dgates
I fixed this problem by commenting Google Play Service related configs in GoogleSingInDependencies.xml:

<?xml version="1.0" encoding="UTF-8" ?>
<dependencies>
  <!-- See https://github.com/googlesamples/unity-jar-resolver#usage for
    how to configure dependencies -->
  <!-- <androidPackages>
    <androidPackage spec="com.google.android.gms:play-services-auth:10+">
      <androidSdkPackageIds>
        <androidSdkPackageId>extra-google-m2repository</androidSdkPackageId>
      </androidSdkPackageIds>
    </androidPackage>
  </androidPackages> -->

  <!-- iOS Cocoapod dependencies can be specified by each iosPod element. -->
  <iosPods>
    <iosPod name="GoogleSignIn" version=">= 4.0.2" bitcodeEnabled="false"
        minTargetSdk="6.0">
    </iosPod>
  </iosPods>
</dependencies>

you can find this file here: \Assets\GoogleSignIn\Editor\GoogleSignInDependencies.xml
but now, i'm facing an AggregateException :]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

        Participants

        @dgates@amiroveisi@claywilkinson@rendiarya

        Issue actions

          1.0.2: Client never reaches out for auth request · Issue #11 · googlesamples/google-signin-unity