Skip to content

Commit 22f4f44

Browse files
authored
emphasize NotificationReceivedBackground ios guide (#838)
1 parent e3f024c commit 22f4f44

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

website/docs/api/general-events.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ Notifications.events().registerNotificationReceivedForeground((notification: Not
2727
```
2828

2929
## registerNotificationReceivedBackground()
30+
#### To receive background notifications on iOS follow [this guide](https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/pushing_background_updates_to_your_app).
3031
Fired when a remote notification is received in background state. The handler will be invoked with an instance of [Notification](notification-obj).
3132
Should call completion function on iOS, will be ignored on Android.
3233

@@ -39,8 +40,6 @@ Notifications.events().registerNotificationReceivedBackground((notification: Not
3940
});
4041
```
4142

42-
To receive background notifications on iOS follow [this guide](https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/pushing_background_updates_to_your_app)
43-
4443
## registerNotificationOpened()
4544
Fired when a remote notification is opened from dead or background state. The handler will be invoked with an instance of [Notification](notification-obj).
4645
Should call completion function on iOS, will be ignored on Android.

0 commit comments

Comments
 (0)