接收推送通知的问题 - [英] Issues with receiving push notifications -

查看:28
本文介绍了接收推送通知的问题 -的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到了一个问题,每次将通知推送到设备时我都收不到通知.我确实偶尔或在很长时间后收到它们.我在服务器端使用 APNS 和 Ruby on Rails 的开发证书.服务器确实会向 Apple 服务器发送通知,只有在我收到通知时才会出现问题.

I have a problem where I don't receive notifications every time I push them to the device. I do receive them occasionally or after a big delay. I'm using the development certificate for APNS and Ruby on Rails on the server side. The server does send notifications to the Apple server its only when I'm receiving them I have a problem.

我最初认为这是全局通知的问题(隧道被关闭),为了测试它,我向我的设备发送了一条通知到 Skype,该通知几乎是立即收到的.所以,我真的不明白这里有什么问题.有什么我遗漏的地方,或者我该如何深入拍摄.

I initially thought it was a problem with global notifications (tunnel being closed) and to test it I sent my device a notification to Skype which was received almost instantaneously. So, I really dont understand whats the problem here. Is there anything I'm missing or how do I trouble shoot it in depth.

推送通知是否可靠?所涉及的延迟是多少?任何帮助将不胜感激.谢谢

Are push notifications reliable and whats the latency involved? Any help will be greatly appreciated. Thanks

推荐答案

在开发中,推送通知的发送不可靠.某些通知可能会延迟到达.您可以尝试通过临时构建您的应用程序在生产中发送通知.
如果你用不同的iphone/ipod没有同样的结果,你可以尝试重置网络设置设备.

In development, the sending of push notification is not reliable. Some notifications may arrive with some delay. You can try to send notifications in production by building your app in adhoc.
If you haven't the same result with different iphone/ipod, you can try to reset network settings device.

这篇关于接收推送通知的问题 -的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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