File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -55,11 +55,12 @@ Firebase App Check uses a token-based approach to verify that requests originate
5555 let providerFactory = AppCheckDebugProviderFactory ()
5656 AppCheck.setAppCheckProviderFactory (providerFactory)
5757 #else
58- AppCheck.setAppCheckProviderFactory (CapCapAppCheckProviderFactory ())
58+ AppCheck.setAppCheckProviderFactory (YourAppCheckProviderFactory ())
5959 #endif
6060 }
6161 ```
62- 5 . Now you can use token to send to your firebase functions.
62+ 5 . Enable `App Attest` capability in the Xcode project from Signing & Capabilities.
63+ 6 . Now you can use token to send to your firebase functions.
6364 - Step 1 : create header in your firebase function to send the token.
6465 - header name: `x- firebase- appcheck`
6566 - Step 2 : send the token in your firebase function.
@@ -92,7 +93,7 @@ Firebase App Check uses a token-based approach to verify that requests originate
9293 }
9394 }
9495 ```
95- 6 . During development, you will have to register your debug token in the firebase console.
96+ 7 . During development, you will have to register your debug token in the firebase console.
9697 - Step 1 : In Xcode enable firebase debug mode. [Firebase DebugView](https :// firebase.google.com/docs/analytics/debugview)
9798 - Step 2 : Search for `Firebase App Check` in the logs.
9899 - Step 3 : Copy the token from the logs.
You can’t perform that action at this time.
0 commit comments