Authentication of a Firebase phone in android - the same code does not work on different machines

I have built - in Firebase phone authentication in my Android project.

To do this, I followed all the steps indicated in this link.

Everything works fine on my machine. Also I clicked this code on git.

Now, when another user retrieves this code, it does not work on his machine.

The error he receives is

com.google.firebase.FirebaseException: An internal error has occurred. [ INVALID_APP_CREDENTIAL:App validation failed ]

I searched for this error, but everywhere I found -

  • Put the key SHA1

  • Enable phone authentication for authentication in your firebase project.

But I already did it, and everything works fine on my machine. But does not work on another user machine. Please help me.

Thanks in advance!

+1
1

, SHA1 git , . SHA-1, , " " firebase -.

enter image description here

: .

0

All Articles