2

I have a single project which is synced on two different machines. I have Android Studio and the emulator successfully installed on both machines. I also have successfully implemented Firebase + Google authentication. When I open the emulator on the first machine and run the app, everything works fine but when I run the same project on the second machine using the same user, the authentication fails. If it try to print the error it says:

Google sign in failed! Error 10:

How can I make both authentications work on both machines? Thanks!

Bertram Gilfoyle
  • 9,188
  • 6
  • 39
  • 65
Joan P.
  • 1,891
  • 3
  • 20
  • 42

1 Answers1

1

You have to add the SHA-1 key of the second machine in your firebase project. The process is well explained already in this post. Please check it out in case you need clarification.

Bertram Gilfoyle
  • 9,188
  • 6
  • 39
  • 65