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
Android google signin crash when add AdditionalScopes in configuration #12
Comments
Can you share the log of the crash? That will help get a fix ready. |
@claywilkinson I got the same issue without additional scope login in is working fine. When I add additional scopes it crashes. On iOS it works fine with and without additional scopes. This is the error I receive once I call the login with the additional scopes added.
|
…ionalScopes in configuration bug
@dilipmanna I made a work around/fix for the issue, if you comment CallConfigure(); on line 302&318 in google_signin.cc and then rebuild the .aar it no longer crashes when additional scopes are being added. |
I tried to add additional scopes to sample project |
Hey Foritari I realized later that it was the other way around and you have to comment out + CallConfigure(); on line 237 and not the other two as in my previous comment. At least at my end it solved the issue because I was able to use this script for signing into google drive and adjust google sheets. |
@koenvandensteen thanks for your answer didn't work me either. |
@koenvandensteen also could you pls send me your rebuilt version native-googlesign here em911roma@gmail.com. |
Have the same problem when add AuthCode = true or TokenID = true in configuration. |
* Fix Issue googlesamples#12 Android google signin crash when add AdditionalScopes in configuration bug * Apparently it was the other way arround. Co-authored-by: FGH\Koen <koen.van.den.steen@hotmail.com>
Can anyone please help and tell me a fix for the AdditionalScope Crash? |
When add additionalScope in GoogleSignIn.Configuration then android build is crash, but iOS build running fine. Below scope add code.
IEnumerable scopes = new List {"https://www.googleapis.com/auth/contacts.readonly","https://www.googleapis.com/auth/contacts"};
GoogleSignIn.Configuration.AdditionalScopes = scopes;
The text was updated successfully, but these errors were encountered: