简体   繁体   English

如何调试未收到的Apple推送通知?

[英]How can I debug Apple push notifications not being received?

I'm using apn_on_rails to integrate Apple's Push Notifications with my service. 我正在使用apn_on_rails将Apple的推送通知与我的服务集成。

For a while, notifications seemed to be sent without issue. 有一段时间,通知似乎没有问题。 But now the notifications don't seem to be making it to people's iPhones/iPads. 但现在这些通知似乎并没有传到人们的iPhone / iPad上。

According to our database, the notifications are being sent ( apn_on_rails has a sent_at field that gets updated when the notification is sent). 根据我们的数据库,正在发送通知( apn_on_rails有一个sent_at字段,在发送通知时会更新)。 But no one (myself included) actually get the notifications. 但没有人(包括我自己)实际收到通知。

Any ideas where to even start looking to debug this? 有什么想法甚至开始寻找调试这个?

Notifications are not displayed if the app is running. 如果应用程序正在运行,则不会显示通知。 You can check the error response of the sending. 您可以检查发送的错误响应。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM