且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

IOS 8 静默推送通知在没有 Xcode 的情况下不起作用

更新时间:2023-01-09 21:38:56

似乎您在从服务器端与 APN 交互时使用了调试证书.它仅在设备处于调试模式时有效.

Seems like you are using Debug certificate while interacting with APNs from the server side. And it only works while a device is in the debug mode.

对于不受限制的推送通知处理,您需要使用发布证书.

For untethered push notification handling, you need to use Release certificate.

这篇文章可以更好地理解如何使用带有 APNs 的证书:https://quickblox.com/developers/How_to_create_APNS_certificates

This article would give a better understanding on using certificates with APNs: https://quickblox.com/developers/How_to_create_APNS_certificates