Replies: 1 comment
-
Glad you appreciate the docs, always happy to merge PRs that improve them. Have you consulted the e2e suite where we exercise all the APIs to verify they work? They're a great reference react-native-firebase/packages/app-check/e2e/appcheck.e2e.js Lines 368 to 557 in c0c5054 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have successfully integrated Firebase into my project (I can log in with Auth and write to Firestore and such) but the AppCheck integration is damn near impossible. The docs are too vague about how to set it up.
Here's the docs.
Register Firebase Apps
is okay.The
Configure a Custom Provider
section makes no sense in practice. Nearly all the import statement contains template literal instead of string literal, which errs in code. Even if you change it to string literal,ReactNativeFirebaseAppCheckProvider
does not exist.In
Verify AppCheck was initialized correctly
section, even though the code importsgetToken
(with weird spacing around it), it usesappCheckInstance.getToken
instead.So, given the quite strange nature of the docs, the questions here are:
getToken
?Beta Was this translation helpful? Give feedback.
All reactions