Skip to content
This repository was archived by the owner on Apr 8, 2025. It is now read-only.

Commit 8e98e89

Browse files
gh-clement-taboulotmikehardy
authored andcommitted
doc(Notification): Add warning during installation
1 parent 7bf2785 commit 8e98e89

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/notifications/ios.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,12 @@ Add the following import to the top of your `ios/[App Name]/AppDelegate.m`:
1515
Add the following to the `didFinishLaunchingWithOptions:(NSDictionary *)launchOptions` method, right after `[FIRApp Configure]`:
1616

1717
```objectivec
18+
[FIRApp Configure] // after this line
1819
[RNFirebaseNotifications configure];
1920
```
2021

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.
23+
2124
Add the following method:
2225

2326
```objectivec

0 commit comments

Comments
 (0)