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
Copy file name to clipboardExpand all lines: website/docs/api/general-events.md
+1-2
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,7 @@ Notifications.events().registerNotificationReceivedForeground((notification: Not
27
27
```
28
28
29
29
## 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).
30
31
Fired when a remote notification is received in background state. The handler will be invoked with an instance of [Notification](notification-obj).
31
32
Should call completion function on iOS, will be ignored on Android.
32
33
@@ -39,8 +40,6 @@ Notifications.events().registerNotificationReceivedBackground((notification: Not
39
40
});
40
41
```
41
42
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
-
44
43
## registerNotificationOpened()
45
44
Fired when a remote notification is opened from dead or background state. The handler will be invoked with an instance of [Notification](notification-obj).
46
45
Should call completion function on iOS, will be ignored on Android.
0 commit comments