开发者

Issues with receiving push notifications -

开发者 https://www.devze.com 2023-02-16 23:28 出处:网络
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 Rub

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 开发者_如何学Con the server side. The server does send notifications to the Apple server its only when I'm receiving them I have a problem.

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


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号