接收推送通知不一致 [英] Inconsistency in receiving push notification
问题描述
我在推送通知中发现了一些奇怪的行为。我的iPod应用程序收到推送通知,直到上周,没有任何问题。然后我发现我的应用程序没有收到推送通知,我更改了证书,它工作正常,2天后它无法正常工作。我重复了同样的过程和同样的问题。我想知道为什么会这样?
I found some weird behavior in push notification. My iPod app receives push notifications till last week with no issues. Then I found that my app is not receiving push notifications, and I changed the certificates and it worked fine, and after 2 days its not working. And I repeated the same process and same kinda problem. I was wondering why this happens?
注意我使用自己的基于java的服务器发送推送通知。我确信我的认证没有过期。在出现此问题时,我的应用程序图标也无法看到徽章ID。??
NOTE I am using my own java based server to send push notification. I am sure that my certification are not expired. At the time of this problem the badge id is also not visible with my application icon.??
提前致谢。
推荐答案
确保一些事情
- 您正在使用正确的生产组合或开发pem和APNS或沙箱服务器URL
- 检查反馈服务以确保您是否收到任何错误
我上周在运行OS 4.1的3GS上遇到了类似的问题。重新启动设备后,它开始工作了。尝试这样做,看看它是否有效。
I faced similar issues with my 3GS running OS 4.1 last week. It started working after I restarted my device. Try doing that and see if it works.
这篇关于接收推送通知不一致的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!