Open devang024 opened 1 year ago
I also had a similar problem and eventually solved it. In my case it happened on an Android device. In conclusion, it was a Credentials setting issue in Google Cloud Console.
You can view more detailed logs by adding 'GoogleSignIn.DefaultInstance.EnableDebugLogging(true);'.
'catch (GoogleSignIn.SignInException e) { Debug.LogErrorFormat("GoogleSignIn.SignInException: {0}", e.Status); }' to check the Status value of SignInException. If it displays as 'DeveloperError', it is most likely a problem with your Google Cloud Credentials settings.
Go to the Credentials page in the Google Cloud Console. In 'OAuth 2.0 Client IDs', check the item whose Type is iOS. In my case, the problem was caused by a mismatch in the SHA-1 value of the Android Type item. (To be exact, only the SHA-1 value of the Playstore was added, and this was resolved by adding a new SHA-1 value of the development keystore)
when I set RequestIdToken=false , it works,but I don't know why.
SOLVED! If you have problems with DeveloperError Exception of type 'Google.GoogleSignIn+SignInException' was thrown.
(*) Also if it's not work, you may need to add API Key by go to APIs & Services -> Create Credentials -> API Key, config OAuth consent screen and add service accounts if you don't have. One more thing you need to know, this google Id Token is isolated from firebase, you can get it by just using google cloud without config your firebase. Firebase will require this Id Token for Firebase.Auth.
ademas prueba borrando las credenciales anteriores y realizando los pasos de este post
We have had Unity google sign in working till 25th August,2023 in our app on Appstore and Playstore.
But since, 25th August, 2023, on iOS version, Google sign-in stopped working for some devices. Haven't changed anything in firebase dashboard , not any changes in apple dashboard.
Working properly on all devices on Android.
Tried to see through device logs for more info but no clue what causing the issue suddenly on Last released version.