iphone – iOS- Apple推送通知从APNS重新发送

iphone – iOS- Apple推送通知从APNS重新发送,第1张

概述从Apple的文档中我了解到,如果设备处于脱机状态,APNS会保留最后一个通知,并在设备重新联机时将其发送到设备.是否有任何机制可以避免重发? 答案是不 以下是苹果对此的评价, If APNs attempts to deliver a notification but the device is offline, the notification is stored for a limited 从Apple的文档中我了解到,如果设备处于脱机状态,APNS会保留最后一个通知,并在设备重新联机时将其发送到设备.是否有任何机制可以避免重发?解决方法 答案是不

以下是苹果对此的评价,

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 application 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.

总结

以上是内存溢出为你收集整理的iphone – iOS- Apple推送通知从APNS重新发送全部内容,希望文章能够帮你解决iphone – iOS- Apple推送通知从APNS重新发送所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/web/1082934.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-27
下一篇 2022-05-27

发表评论

登录后才能评论

评论列表(0条)

保存