From 0e43630a602959f16d981bd033e8dde6cb7ad304 Mon Sep 17 00:00:00 2001 From: danielel Date: Wed, 9 Mar 2022 16:08:47 +0200 Subject: [PATCH] emphasize NotificationReceivedBackground ios guide --- website/docs/api/general-events.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/website/docs/api/general-events.md b/website/docs/api/general-events.md index 91526ca1c..e0be0924c 100755 --- a/website/docs/api/general-events.md +++ b/website/docs/api/general-events.md @@ -27,6 +27,7 @@ Notifications.events().registerNotificationReceivedForeground((notification: Not ``` ## registerNotificationReceivedBackground() +#### 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). Fired when a remote notification is received in background state. The handler will be invoked with an instance of [Notification](notification-obj). Should call completion function on iOS, will be ignored on Android. @@ -39,8 +40,6 @@ Notifications.events().registerNotificationReceivedBackground((notification: Not }); ``` -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) - ## registerNotificationOpened() Fired when a remote notification is opened from dead or background state. The handler will be invoked with an instance of [Notification](notification-obj). Should call completion function on iOS, will be ignored on Android.