gpt4 book ai didi

iOS PushKit(VoIP 推送通知)服务质量

转载 作者:行者123 更新时间:2023-11-28 21:36:10 24 4
gpt4 key购买 nike

什么是 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 通知呢?它与常规推送通知一样吗?

最佳答案

我自己执行了以下步骤来验证问题

  1. 将设备置于飞行模式
  2. 发送了至少 5 个不同的 PushKit 通知
  3. 等待大约 3 分钟
  4. 取消飞行模式

只有与 store-and-forward 兼容的最后一个 PushKit 通知到达Apple 的政策(专门针对常规远程推送通知定义)。

关于iOS PushKit(VoIP 推送通知)服务质量,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33875095/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com