2

I am creating an app with phoneAuth Firebase, Android. When I was testing it with debug apk it was working but when I signed the apk phone auth is not working I used this method to send otp

PhoneAuthProvider.getInstance().verifyPhoneNumber (phone,60,TimeUnit.SECONDS,Register.this,mCallbacks);
Vadim Kotov
  • 7,103
  • 8
  • 44
  • 57
Paramjeet Singh
  • 2,170
  • 2
  • 6
  • 14

1 Answers1

5

You have to submit your signing jks file's SHA1 key in firebase project settings. The way you have set for your default.keystore

To get the SHA1 you can follow this link

Dhrumil Shah - dhuma1981
  • 10,650
  • 5
  • 28
  • 37