Skip to content

Commit 0259802

Browse files
brianathereBrian Meek
andauthored
docs(messaging, ios): document 8 second delay introduced in #4144 fix (#5545)
Co-authored-by: Brian Meek <[email protected]>
1 parent 832057c commit 0259802

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/messaging/usage/index.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,11 @@ The device state and message contents determines which handler will be called:
111111
as low priority and will ignore it (i.e. no event will be sent). You can however increase the priority by setting the `priority` to `high` (Android) and
112112
`content-available` to `true` (iOS) properties on the payload.
113113

114+
- On iOS in cases where the message is data-only and the device is in the background or quit, the message will be delayed 8 seconds
115+
from the time it arrives on the device until the background message handler registered with setBackgroundMessageHandler is invoked
116+
to allow for the applications javascript to be loaded and ready to run [Issue 4144]
117+
(https://github.com/invertase/react-native-firebase/pull/4144).
118+
114119
To learn more about how to send these options in your message payload, view the Firebase documentation for your [FCM API implementation](https://firebase.google.com/docs/cloud-messaging/concept-options).
115120

116121
### Notifications

0 commit comments

Comments
 (0)