Skip to content

Commit 26ff2f4

Browse files
update start guide (#800)
add didReceiveRemoteNotification Co-authored-by: DanielEliraz <[email protected]>
1 parent 207e20a commit 26ff2f4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

website/docs/docs/getting-started.md

+6
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,12 @@ And add the following methods to support registration to `AppDelegate.m`:
7373
}
7474
```
7575

76+
```objectivec
77+
- (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo fetchCompletionHandler:(void (^)(UIBackgroundFetchResult result))completionHandler {
78+
[RNNotifications didReceiveBackgroundNotification:userInfo withCompletionHandler:completionHandler];
79+
}
80+
```
81+
7682
### Android
7783

7884
For Android installation, please refer to the [Android installation doc](installation-android.md) where you can find detailed step on how to start using Google's FCM service.

0 commit comments

Comments
 (0)