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
{{ message }}
This repository was archived by the owner on Apr 8, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: docs/notifications/ios.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,9 +15,12 @@ Add the following import to the top of your `ios/[App Name]/AppDelegate.m`:
15
15
Add the following to the `didFinishLaunchingWithOptions:(NSDictionary *)launchOptions` method, right after `[FIRApp Configure]`:
16
16
17
17
```objectivec
18
+
[FIRApp Configure] // after this line
18
19
[RNFirebaseNotifications configure];
19
20
```
20
21
22
+
?> It is recommended to add the line within the method **BETWEEN** the statement **[FIRApp Configure]** and the creation of **RCTRootView**. Otherwise the initialization can occur after already being required in your JavaScript code - leading to `app not initialised` exceptions.
0 commit comments