订阅者离线时 FCM 推送通知
FCM push notification when subscribers offline
我 运行 通过 FCM 文档和
- 我想了解当订阅者在较长的离线时间后上线时会发生什么。
- FCM是否会存储离线期间收到的所有推送通知
- 一旦订阅者上线,FCM 是否会发送所有消息
If the device is not connected to FCM, the message is stored until a connection is established (again respecting the collapse key rules). When a connection is established, FCM delivers all pending messages to the device. If the device never gets connected again (for instance, if it was factory reset), the message eventually times out and is discarded from FCM storage. The default timeout is four weeks, unless the time_to_live
flag is set.
我 运行 通过 FCM 文档和
- 我想了解当订阅者在较长的离线时间后上线时会发生什么。
- FCM是否会存储离线期间收到的所有推送通知
- 一旦订阅者上线,FCM 是否会发送所有消息
If the device is not connected to FCM, the message is stored until a connection is established (again respecting the collapse key rules). When a connection is established, FCM delivers all pending messages to the device. If the device never gets connected again (for instance, if it was factory reset), the message eventually times out and is discarded from FCM storage. The default timeout is four weeks, unless the
time_to_live
flag is set.