You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**analytics:** verify security_storage consent param is a ConsentStatusString ([#8861](https://github.com/invertase/react-native-firebase/issues/8861)) ([00df346](https://github.com/invertase/react-native-firebase/commit/00df346e6f6249585b752c76e9c3a259045798e9))
11
+
-**app-check:** use bridging header instead of Swift module import ([#8867](https://github.com/invertase/react-native-firebase/issues/8867)) ([320ba01](https://github.com/invertase/react-native-firebase/commit/320ba0104f2260a9a1645b70249f3b2e5a2f6358)), closes [#8700](https://github.com/invertase/react-native-firebase/issues/8700)[#8757](https://github.com/invertase/react-native-firebase/issues/8757)
12
+
-**messaging, ios:** prioritize delegate call order in willPresentNotification ([#8786](https://github.com/invertase/react-native-firebase/issues/8786)) ([d6f403a](https://github.com/invertase/react-native-firebase/commit/d6f403adcd0333cf9cd8876578aba200be20e8bd))
Copy file name to clipboardExpand all lines: docs/app-check/usage/index.md
+17-1Lines changed: 17 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -89,6 +89,23 @@ For instructions on how to generate required keys and register an app for the de
89
89
90
90
You must call initialize the AppCheck module prior to calling any firebase back-end services for App Check to function.
91
91
92
+
#### All react-native >= 0.77 with AppDelegate.swift
93
+
94
+
The AppCheck pod does not define a module map for integration, so importing it in the Swift file does not work.
95
+
You need to alter the bridging header file that should be in `<your project name>/ios/<your project-name>-Bridging-Header.h`
96
+
97
+
You will need to add the line indicated in the example below:
98
+
99
+
```diff
100
+
//
101
+
// Use this file to import your target's public headers that you would like to expose to Swift.
102
+
//
103
+
104
+
+ #import "RNFBAppCheckModule.h" // <-- new for AppCheck to work
105
+
```
106
+
107
+
After doing that, follow the instructions below to add AppCheck initialization to your `AppDelegate.swift` file depending on the react-native version you use.
108
+
92
109
#### Configure AppCheck with iOS credentials (react-native 0.79+)
93
110
94
111
To do that, edit your `ios/ProjectName/AppDelegate.swift` and add the following two lines:
@@ -98,7 +115,6 @@ And within your existing `didFinishLaunchingWithOptions` method, add the followi
98
115
99
116
```diff
100
117
import UIKit
101
-
+ import RNFBAppCheck // <-- This is the import for AppCheck to work
102
118
+ import FirebaseCore // <-- From App/Core integration, no other Firebase items needed
-**analytics:** verify security_storage consent param is a ConsentStatusString ([#8861](https://github.com/invertase/react-native-firebase/issues/8861)) ([00df346](https://github.com/invertase/react-native-firebase/commit/00df346e6f6249585b752c76e9c3a259045798e9))
0 commit comments