iOS PushKit(VoIP 推送通知)服务质量
iOS PushKit (VoIP Push Notifications) Quality of Service
PushKit QoS 策略是什么?常规推送通知的 policy 定义为存储转发。
Apple Push Notification service includes a default Quality of Service
(QoS) component that performs a store-and-forward function.
If APNs attempts to deliver a notification but the device is offline,
the notification is stored for a limited period of time, and delivered
to the device when it becomes available.
Only one recent notification for a particular app is stored. If
multiple notifications are sent while the device is offline, each new
notification causes the prior notification to be discarded. This
behavior of keeping only the newest notification is referred to as
coalescing notifications.
If the device remains offline for a long time, any notifications that
were being stored for it are discarded.
PushKit 通知呢?它与常规推送通知一样吗?
我自己执行了以下步骤来验证问题
- 将设备置于飞行模式
- 发送了至少 5 个不同的 PushKit 通知
- 等待约3分钟
- 取消飞行模式
只有最后一个 PushKit 通知到达,它符合 store-and-forward Apple 的政策(专门为常规远程推送通知定义)。
PushKit QoS 策略是什么?常规推送通知的 policy 定义为存储转发。
Apple Push Notification service includes a default Quality of Service (QoS) component that performs a store-and-forward function.
If APNs attempts to deliver a notification but the device is offline, the notification is stored for a limited period of time, and delivered to the device when it becomes available.
Only one recent notification for a particular app is stored. If multiple notifications are sent while the device is offline, each new notification causes the prior notification to be discarded. This behavior of keeping only the newest notification is referred to as coalescing notifications.
If the device remains offline for a long time, any notifications that were being stored for it are discarded.
PushKit 通知呢?它与常规推送通知一样吗?
我自己执行了以下步骤来验证问题
- 将设备置于飞行模式
- 发送了至少 5 个不同的 PushKit 通知
- 等待约3分钟
- 取消飞行模式
只有最后一个 PushKit 通知到达,它符合 store-and-forward Apple 的政策(专门为常规远程推送通知定义)。