googlesamples / google-signin-unity

Google Sign-In API plugin for Unity game engine. Works with Android and iOS.
Other
424 stars 231 forks source link

Google.GoogleSingIn+SignInException was thrown -iOS only #78

Open FaiyazMdAbdul opened 5 years ago

FaiyazMdAbdul commented 5 years ago

I am getting this following error on Xcode.

didSignInForUser: The operation couldn’t be completed. (com.google.HTTPStatus error 400.)

2019-01-18 22:00:48.799156+0530 payil[1478:379867] Unmapped error code: 400, returning Error

I have firebase plugin as well and the token is being generated successfully. But unable to sign in.

what am I missing?

Jealous1508 commented 5 years ago

i got same problem , do you have any idea bro ?

FaiyazMdAbdul commented 5 years ago

i got same problem , do you have any idea bro ?

Still the same problem. Though last month I was able to configure for another app.

GeorgeFedoseev commented 5 years ago

For me it was a stupid mistake: I changed webClientId variable in code, but this variable was public and set in inspector to: \<your-client-id-here>

Jealous1508 commented 5 years ago

i solved all this kind of bug, please do things correctly as the tutorial did , enter client id , add ios reverse string to url schema on ios build setting , or u can add it in Xcode project

Jealous1508 commented 5 years ago

and 1 more thing , dont mark development build

ramkeshcse084 commented 5 years ago

Thank you Jealous. You solved my problem.Now I am able to LogIn. Google LogIn is creating conflicts with Text Mesh Pro and Image picker . I was made many Text with TMP . Now there are not visible . If any one have solution , Please drop solution.