-
Notifications
You must be signed in to change notification settings - Fork 259
Got Error: DeveloperError Exception of type 'Google.GoogleSignIn+SignInException' #33
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
Comments
You need to specify webClientId in SigninSimpleScript.cs :) |
@baldodavi I have setup the webclientID in the script and in the editor , but I still get the same error |
Any idea on how to solve it ? |
I've a similar issue during creation of dummy project. I solved using a published and linked Play Game Service oauth2 key as WebClientId. After link the play services to an application you can find this oauth2 key under linked apps in Play Game Services console menu. Thanks for question :) |
I struggled with this for a while until I came across the following: keytool -exportcert -list -v -alias androiddebugkey -keystore %USERPROFILE%.android\debug.keystore Don't get the SHA-1 from your unity project. You need the debug version instead which is tied to your computer+android. |
@mjmac87 how can i get the debug version? |
never mind I found It and It's working now .. thank you |
I've run into the same error, but I'm 99% certain the issue isn't related to the spelling of the webClientID string (its copied straight from the google-services credentials json file, which itself is fresh from the credentials dashboard) Does anything else in particular cause this error? |
@ChiefBreakeverything I've the same error and I haven't been able to solve it yet. I tried copying the client-web key from the Google API Console in the project script but it didn't work. The SHA-1 has been taken as it is expressed in the OAuth Client site (Google API Console) and also used in the Player Settings of the Unity project but it has not worked. Any other possible solution? |
If anyone using App Signing from Google Play Console, there are 2 SHA-1 fingerprints. One is used when uploading to Google Playstore and the other is for our own private keystore. After adding both SHA-1 to Firebase project settings and redownload the google-services.json, I do not get any Developer Error. Hope it helps |
Same error for me. |
Hi guys, I have this mistake too, and I finally SOLVE Oh yes BB My config I want to connect Unity + Google + Firebase for Login/Sign In I install FirebaseAuth.unitypackage .NET4 (google Firebase SDK oh yes 1.8Gig for all) My recommendation install inside this order If you do not install in this order Inside unity Menu--> File/Build Setting/Player Setting/ Other Settings Publishing Settings I found my keytool.exe in I open cmd (command Prompt) and tap this inside this folder, I tap this command
keytool --list -v -alias tutorial_firebase_login -keystore "C:/unity_projects/Dropbox/unity_keystore/tutorial_unity.keystore" if is fine keytool ask you password you put inside xxx.Keystore file is generated for me something like that I just cut in paste this into notepad for ease to use for injecting later inside the Firebase SHA1: 62:E1:A0:75:53:03:C0:4D:23:4D:73:0C:5E:7A:62:DD:0C:DE:4A:23 I also inside Unity MainScene/Canvas/Component/Script (SigninSampleScript) I copy Web client Id Firebase give me After if you run on local win or mac I trust you still have this error Exception: Field currentActivity or type signature not found.... but don't worry I work fine when you compile and send to your device. But it works on your device, it works perfectly. Now you can log in with a google account. Ok now continue First, I copy SHA256 thinking is more secure but it still gives me an error ********* Finally I copy both SHA1 and SHA256 inside Firebase also, I copy the last file google-services.json inside my asset folder in unity, and at the same time, I delete the StreamingAssets folder always. Because Unity makes a copy inside this folder of this file. Important Inside Firebase Copy in notepad for use later in unity your ***** Web client ID Also You can see many important data include inside your google-services.json file If you create your app for Firebase already you can see under this area how to add your fingerprints SHA1-and SHA-256 **** Don't forgot your "package name" need same unity if you have some questions and you think I can help you let me know. Sometimes integrate some packages can be a real nightmare. |
I'm facing the same problem here but I'm not using Firebase foor authenticaton. Just GoogleSignIn with GooglePlayGames and PlayFab. I'm wondering if it's because of the SHA1 not correctly configured. Any thoughts on what I could be missing ? |
I have only used this plugin with sample package. I've setup firebase account too. I tried building the apk without firebase and provided web client id as well. Now when i try to sign in, i get following error in status text:
Got Error: DeveloperError Exception of type 'Google.GoogleSignIn+SignInException' was thrown
Pls note that it worked twice just by selecting resolving client jars from menu. After that it again stopped working after making few changes, since then i'm not able to make it work.
The text was updated successfully, but these errors were encountered: