如何调试没有收到苹果推送通知? [英] How can I debug Apple push notifications not being received?

查看:184
本文介绍了如何调试没有收到苹果推送通知?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用 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.

这篇关于如何调试没有收到苹果推送通知?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆