i have a problem that fire base send verification code to the owner of the account only "Me" and another people that i send the source code to them and try their phone numbers fire base couldn't send the verification code but when i take their phone numbers and try it on my phone the code was sent to owner of this phone number
Asked
Active
Viewed 24 times
1 Answers
0
Have you made an apk of the app or it is in debug mode? Have you correctly generated the SHA1 key and entered it in the Firebase console? Without some more clarification of what you have done, we cannot do much.
Assuming your situation, these may help you:
You need to enter the SHA1 key in the firebase console for getting the Firebase Phone Verification otherwise, you'll get an error like:
Firebase.Auth.FirebaseAuthException: This app is not authorized to use Firebase Authentication. Please verify that the correct package name and SHA-1 are configured in the Firebase Console. [ App validation failed ]
So:
Firebase > Project Settings
and enter your SHA1 key of the app.
If you hover over the "Question icon" you'll see a message like:
SHA-1: Used to create OAuth 2 client and API key for your app
which make it quite clear
Here I am sharing examples of both- generating SHA1 key and authorizing Firebase Phone Verification:
![](../../users/profiles/11292402.webp)
s_o_m_m_y_e_e
- 332
- 3
- 9