Skip to content

Notifications received while the Android device is turned off are received when the device is turned on. #6773

Answered by mikehardy
matsuda-argano asked this question in Q&A
Discussion options

You must be logged in to vote

Firebase Cloud Messages are queued for delivery based on the TTL of the message.

So if the TTL is high and the device is off, then yes when the device is on again the FCM will de-queue and spool out to the device, triggering handlers

https://firebase.google.com/docs/cloud-messaging/concept-options#lifetime

When an app server posts a message to FCM and receives a message ID back, it does not mean that the message was already delivered to the device. Rather, it means that it was accepted for delivery. What happens to the message after it is accepted depends on many factors.

and later

If the device is not connected to FCM, the message is stored until a connection is established (again res…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@matsuda-argano
Comment options

Answer selected by mikehardy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants