Skip to content

1.0.2: Client never reaches out for auth request #11

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
dgates opened this issue Nov 20, 2017 · 4 comments
Open

1.0.2: Client never reaches out for auth request #11

dgates opened this issue Nov 20, 2017 · 4 comments

Comments

@dgates
Copy link

dgates commented Nov 20, 2017

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?

@claywilkinson
Copy link
Contributor

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

@rendiarya
Copy link

rendiarya commented Mar 5, 2018

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
Copy link

I'm facing the same problem
Any solutions?

@amiroveisi
Copy link

amiroveisi commented Mar 29, 2018

@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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants