ApiException: 7 error with AppCheck on Android within React Native #6519
-
We have a React Native app where we have AppCheck implemented but not enforced within any of the other standard Firebase Services or Cloud functions. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 7 replies
-
Hi there!- with apologies I've got no experience with the jail-monkey library so reproduction from the react-native-firebase perspective should focus on not involving it for now. You indicate that introduction of jail-monkey and app restriction for the API key was added, which is two changes at once. It would be interesting to see a result where only one thing - the "app restriction for the API key" (what does that mean precisely?) was performed.
Exploring those details in more depth might be interesting. It might also be a case of "use the style that works..."
I don't either! https://stackoverflow.com/help/minimal-reproducible-example - and it might be best to base it off one of the quickstarts here (adding appcheck to, perhaps, firestore or something https://github.com/firebase/quickstart-android) so that if there is an interaction it may be tracked into firebase-android-sdk as there is likely not much we can do at the react-native layer, AppCheck things are usually a bit opaque and lie beneath this module Also, this is logged as a discussion, but it sounds like an issue. The issue template has a lot of pertinent information requested that could help troubleshoot. Without it, we can't really offer help, we can only discuss, likely without resolution |
Beta Was this translation helpful? Give feedback.
-
It turns out that all we had to do was enabling the android device verification for our project. |
Beta Was this translation helpful? Give feedback.
-
android device verification now DEPRECATED, but i still got this, what i should do now? :((( |
Beta Was this translation helpful? Give feedback.
-
E/Finsky (): [173] uks.a(849): Encountered exception whilst fetching from GMS, deferring to Finsky: com.google.android.gms.common.api.ApiException: 17: API: IntegrityApiDisplayListener.API is not available on this device. Connection failed with: ConnectionResult{statusCode=API_DISABLED, resolution=null, message=null} |
Beta Was this translation helpful? Give feedback.
It turns out that all we had to do was enabling the android device verification for our project.
link