如何调试没有收到苹果推送通知?

问题描述:

我使用 apn_on_rails 苹果的推送通知我的服务进行整合。

I'm using apn_on_rails to integrate Apple's Push Notifications with my service.

有一段时间,通知似乎没有问题发送。但现在的通知似乎并没有被它使人们的iPhone手机/ ipad公司

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.

根据我们的数据库中,通知被发送( apn_on_rails 有被更新了 sent_at 字段时,发送通知)。但是,没有人(包括我自己)真正得到通知。

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