推送通知不发送给某些设备 [英] Push notifications aren't send to some devices

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

问题描述

我有我的推送通知服务一个非常奇怪的现象。我测试在20设备的新应用程序,但我有没有收到推送通知3设备。

I'm having a very strange behavior in my push notification service. I'm testing a new application in 20 devices but I have 3 devices that doesn't receive any push notification.

我有我自己的服务器这里管理推送订阅,在这个服务,我有这些设备的标记。但奇怪的是,我使用相同的服务,以推送通知发送到我建其他应用程序,它运行完美。

I have my own server here a manage the push subscription, and in this service I have the tokens of these devices. But the strange thing, is that I use the same service to send push notification to other applications that I built, and it works perfectly fine.

我也可以向你们保证,这些设备具有推送通知设置使该应用程序。

And I also can assure you that these devices have the push notification settings enable to this application.

我没有任何想法的问题可能是什么。

I'm without any ideas what the problem can be.

我已经为这些应用程序的新推证,我把调试在我的服务器,以确保推送通知被成功发送给苹果。但是,如果相同的应用程序接收推入其它设备通知,为什么它不与这些特定的设备。

I already generate a new push certificate for these application, I place debug in my server to ensure that the push notification is successfully sent to apple. But if the same application receives push notifications in other devices, why it doesn't work with these specific devices.

每一个想法,欢迎。
谢谢你。

Every ideas are welcome. Thank you.

推荐答案

随着你具体介绍一下这三款器件,这听起来CH375复位这些设备将使感有点奇怪和波格丹Andresyuk的想法。

As you're specific about the three devices, it sounds a little odd and Bogdan Andresyuk idea of reseting those devices would make sense.

我已经在过去的问题,因此一些推送通知不传递。我能问你outin顺序即发送通知的这三款器件您尝试太发送通知的最后三个设备?或者是有一个序列或某种形式,你可以建立格局。假设你有10个设备和三个没有得到通知和通知,以发送和它的设备3,6和9这没有得到消息。

I've had issues in the past whereby some push notifications are not delivered. Can I ask are you sending notifications outin order i.e. are these three devices the last three devices that you try and send notifications too? or is there a sequence or some sort of pattern that you can build. Say you have 10 devices and three don't get the notification and the notifications are sent in order and it's device 3, 6 and 9 that don't get the messages.

如果有这样的事情那么它很可能是你的推送通知正在被苹果拒绝。也许是因为你打开,并快速连续关闭套接字到APNS很多次。苹果不喜欢这一点,prefers为什么您发送通知你持有的套接字打开。

If there is something like this then it could well be your push notifications are being rejected by Apple. Perhaps because you're opening and closing a socket to the APNS to many times in quick succession. Apple doesn't like this and prefers you hold the socket open why you send your notifications.

如果没有,那么也许你可以提供有关设备和事件的顺序,以及如何你设置你的推送服务更详细一点。我用的飞艇城市作为照顾插座等,为您和您可以免费发送100万人。

If not then perhaps you could provide a little more detail about the devices and the sequence of events and how you're set up your push service. I use urban airship as the take care of the sockets etc for you and you can send 1 million for free.

这篇关于推送通知不发送给某些设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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