I’m creating a flutter app using firebase for backend everything is working great in development and release mode testing but when I deploy the app to play store and try to login or signup through mobile number it shows the error
an error has occurred, please try again. this app is not authorized to use firebase authentication. please verify that the correct package name, sha-1, and sha-256 are configured in the firebase console. [ a play_integrity_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 added all the SHA-1 and SHA-256 in the firebase also added latest Json file in the project but nothing works
2
Answers
One thing you can try is go to Firebase console -> Project Settings -> Integration and connect your Google Play store app with Firebase.
This seems like an issue with a
SHA-256
fingerprint not being configured properly in the Firebase console. Try following the steps for the setup process.1. Get the
SHA-256
FingerprintSHA-256
fingerprint of the applicationReplace the
<path-to-your-keystore>
,<your-alias>
,<your-storepass>
,<your-keypass>
2. Update SHA-256 Fingerprint in Firebase
Project Settings
.Android app
.SHA-256
Fingerprint underSHAA certificate fingerprints
3. Update the App on the Play Store
APK/AAB
and upload it into Play Store.SHA-256
fingerprint is published.4. Check Play Integrity API Settings
Google Cloud Console
related to Play Integrity5. Resolution
These steps should provide you with better support and configuration steps to resolve the authenticated issue.
Let me know if this helps… CHEERS!!