Hello everyone!
I’m in a bit of a pickle here. I am making making a unity 2D game and recently decided to add Firebase Authentication as a feature of the game. I’ve added the Email SignIn and Facebook SignIn buttons which both work.
I then enabled the Google SignIn method in Firebase Console, followed all of the documentation steps and managed to get it work briefly.
After about 15 minutes of working each new sign in gives the following error:
Got Error: DeveloperError Exception of type 'Google.GoogleSignIn+SignInException' was thrown.
GoogleLogin:OnAuthenticationFinished(Task`1)
System.Threading.ThreadPoolWorkQueue:Dispatch()
I haven’t managed to find any relevant help online, even reverting to the previous version via Github doesn’t seem to solve anything.
If anyone could help me in correcting this, that would be great.
Thanks in advance.
You have Error like: “got error developer error exception of type ‘google.googlesignin+signin exception’ was thrown”?
Problem solved.
I wrote everywhere I can about the solution.
APK and AAB file have different SHA1 and SHA256.
In Firebase, it’s best to add SHA for both applications.
You can check the SHA from the AAB file in Google Play Console → Your application → Configuration → Application integrity → Application signing.
I added these SHA keys to Firebase and the problem was gone.