失去互联网连接后推送通知会发生什么?
如果应用程序正在等待推送通知并且互联网连接不可用,会发生什么情况?
例如,我告诉我的服务器执行任务“A”,并在任务准备就绪时通过 APNS 通知我。但是,在我将任务发送到服务器后,应用程序失去了互联网连接。
What happens if an application is waiting for a push notification and the internet connection is unavailable?
For example, I tell my server to do task "A", and notify me via APNS when the task is ready. But, after I send the task to the server, the application loses internet connectivity.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
当 iPhone 上的互联网连接再次可用时,将会发送通知。
请参阅本地和推送通知编程指南<的“服务质量”部分/a>.
Notification will be delivered when internet connection on iPhone becomes available again.
See "Quality of Service" section of Local and Push Notification Programming Guide.
使用自己的服务器 API 发送 PUSH 时要小心,并考虑 APNs 提供商 API 负载中的
apns-expiration
字段。苹果。
这可能是网络连接恢复后没有推送通知的原因。
Be careful when sending PUSHes with own server API, and also take into account
apns-expiration
field in APNs Provider API payload.By Apple.
It can be the reason, that the push notification does not come after network connection was restored.