Unknown error verifying number Error instance: com.google.firebase.auth.FirebaseAuthException Error code: ERROR_APP_NOT_AUTHORIZED

unknown error verifying number Error instance: com.google.firebase.auth.FirebaseAuthException Error code: ERROR_APP_NOT_AUTHORIZED

Iam getting above error while using firebase for phonenumber verification .

used thes plugins

$ ionic cordova plugin add cordova-plugin-firebase
$ npm install --save @ionic-native/firebase

more details in https://stackoverflow.com/questions/48011698/error-app-not-authorized-firebase-phonenumber-authentication-in-ionic-app

I can’t the reason for this error ERROR_APP_NOT_AUTHORIZED , what am I missing ?

Thanks

you need to go to your firebase console and add SHA1 key

how to genereate SHA1:

Make sure SHA1 key in both playstore and firebase dashboard are same

1 Like