I register sha-1 release , debug key on firebase and I All did firebase register tutorial
but I got this message when I call verifyPhoneNumber();
in the verificationFailed: (AuthException exception) {exception.message};
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.
[ A safety_net_token was passed, but no matching SHA-256 was registered in the
Firebase console.
Please make sure that this application's packageName/SHA256 pair is registered in
the Firebase Console ]
I thought i don't need to register sha256 if I register sha1 but it says like that
what is this reason , how can i solve this problem??
The solution to this is:
flutter clean to clean your project dependencies.pub get to get all dependencies again.Then you're good to go. It worked for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With