如何判断推送通知认证是否错误?
我想知道如何发现我的推送通知证书是错误的。我在我的设备上获取了 devicetoken,但没有收到任何通知。
I want to know that how do i find that my push notification certificate is wrong.I am getting devicetoken on my device but doesn't getting any notification.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
按照此处描述的步骤操作(或实现一个函数来捕获代码中的错误)并读取错误。此处的示例代码将让您知道证书是否错误。作者在文章中也指出了这一点。
http ://blog.boxedice.com/2009/07/10/how-to-build-an-apple-push-notification-provider-server-tutorial/
Follow the steps described here, (or imlement a function for catching the error in your code) and read the eroor. The example code here will let you know if the certificates is wrong. The author also notes this in the article.
http://blog.boxedice.com/2009/07/10/how-to-build-an-apple-push-notification-provider-server-tutorial/