Reputation: 8031
A user of our app is getting the following error when we try to retrieve the Firebase AppCheck token (Play Integrity) to verify their device (in the Login screen):
com.google.firebase.FirebaseException: Error returned from API. code: 403 body: App attestation failed
(we got the error logs from Crashlytics)
We call the method getToken()
as explained at https://rnfirebase.io/app-check/usage (ReactNative + Expo App).
The user is using a Xiaomi Redmi Note 9S device with Android 12 and their OS is not modified (according to Crashlytics).
We have thousands of users using our app from Play Store and the AppCheck token is retrieved without any issue.
What can I do to solve this issue? (the user can't login in the app otherwise)
Upvotes: 1
Views: 232