Replies: 2 comments 5 replies
-
Let me answer my own question. It turns out that DeviceCheck needs to be enabled in the Firebase AppCheck console even if I'm using AppAttest only. I'm not sure if this is because of Firebase or React Native Firebase. Nowhere in the documentation suggests that both must be enabled to use debug token for AppAttest. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi, I have a question, what values go in the debugToken box? And where can I find it? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there, I've been trying to get AppCheck working on Expo iOS Development Client build with EAS running on a physical device. The error is
`[Error: [appCheck/token-error] The operation couldn’t be completed. Too many attempts. Underlying error: The operation couldn’t be completed. The server responded with an error:
"error": {
"code": 400,
"message": "App not registered: X:XXX:ios:XXX.",
"status": "FAILED_PRECONDITION"
}
}`
I followed the setup instruction from the official documentation. Android is working fine, I just couldn't get it working on iOS. I have the following standard initialization codes in my App.js
eas.json is also updated following what is advised in the official documentation.
It can access firestore fine, just without appCheck. I suppose the GoogleService-Info.plist is correct. Debug tokens are added for both Android and iOS app in Firebase (Android is working fine). I've also enabled AppAttest in the Apple developer provisioning profile and rebuild the development client with EAS, no luck.
Anyone can tell me what did I do wrong, or point me to the right direction? I've searched around, and couldn't find anything related to Expo iOS Development Client. Hopefully, someone with experience could help.
Many thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions