flutterfire
flutterfire copied to clipboard
🐛 [FIREBASE APP CHECK] App attestation failed. getToken() API.
Bug report
Describe the bug I have implemented the app check as instructed in then documentation
Steps to reproduce
Steps to reproduce the behavior:
- Install the firebase app check
- Use the same example provided in the installation documentation
- See the following steps by app check and the error message
Expected behavior
Expected to receive integrity token
Sample project
Please link to the public repository URL. https://github.com/elirehema/sampleintegrity
Aditional infos
This is what i get as an error
Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
PASTE OUTPUT INSIDE HERE
Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Click To Expand

Thanks for the report. Using the repo provided and integrating it with local firebase project, I was able to replicate the reported behavior.
Hello, have the same issue. Does anyone have any updates connected with this issue?
same happen to me using following version in pubspec.yaml
firebase_core: ^2.9.0
firebase_analytics: ^10.2.0
firebase_auth: ^4.4.1
firebase_messaging: ^14.4.0
firebase_app_check: ^0.1.2+1
Hi, is there any update for this issue? I'm still facing it.
waiting to solve the issue...
any update on this issue ?
Hey @elirehema - if in debug mode, it is likely because the debug token has expired and you need to update. If in release mode, you need to have the app in playstore for play store provider to work along with the requisite app signing SHA key in your Firebase console.
It still doesn't work in release mode(provided the sha is added and app is uploaded in play store(internal test))
Facing the same issue, provided the sha is added and app is uploaded in play store(internal test)
Same issue here, does anyone have a fix for it?
It still doesn't work in release mode(provided the sha is added and app is uploaded in play store(internal test))
I had the same issue, but while I was reviewing the configuration found that I forgot to add an app release SHA-256 from the google play console -> app signing tab to the app check fingerprints on the FB project. So after it starts working for the versions from the internal test. May be helpful.