苹果推送通知反馈服务 - 频率不会检查 [英] Apple Push Notification Feedback Service - how frequently does it check

查看:145
本文介绍了苹果推送通知反馈服务 - 频率不会检查的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经能够成功地创建推送通知,我还收到反馈服务响应,所以我相信,我的配置是正确的,但我想知道,一个设备已处于非活动状态多长时间后,将它由苹果推送通知服务被拾起。

I have been able to successfully create push notifications and I have also received responses from the feedback service, so I am confident that my configuration is correct, but I was wondering, how long after a device has been made inactive, will it be picked up by the Apple Push Notification Service.

当我第一次接受调查的反馈服务,我接到其上不活跃几天前设备的详细信息。现在,在测试中,当我卸载应用程序,偶尔轮询反馈服务,我没有收到任何结果。

When I first polled the feedback service, I received details on devices which were inactive several days ago. Now, while testing, when I uninstall the application and occasionally poll the feedback service, I'm not receiving any results.

这需要多长时间更新将是有益的,因为我不再确定问题是否是别的地方在我的code,或者如果我只是测试太快任何想法。

Any idea on how long it takes to update would be useful, as I'm no longer sure if the issue is else where in my code or if I'm just testing too soon.

推荐答案

与使用反馈服务问题

如果您在设备上删除您的应用程序,然后发送推送通知它,你会希望有设备令牌拒绝,无效设备标记应该出现在反馈服务。但是,如果这是在设备上的最后一个启用推应用程序,它不会在反馈服务显示。这是因为删除最后一个应用程序眼泪就下来了的推送服务的持续连接可以发送删除通知之前。

If you remove your app from your device and then send a push notification to it, you would expect to have the device token rejected, and the invalidated device token should appear on the feedback service. However, if this was the last push-enabled app on the device, it will not show up in the feedback service. This is because deleting the last app tears down the persistent connection to the push service before the notice of the deletion can be sent.

您可以通过以保持持久连接起来至少留一个启用推应用程序在设备上解决这个问题。只要安装从App Store任何自由启用推应用程序,那么你应该能够删除您的应用程序,看到它出现在反馈服务。

You can work around this by leaving at least one push-enabled app on the device in order to keep the persistent connection up. Just install any free push-enabled app from the App Store and you should then be able to delete your app and see it appear in the feedback service.

来源:

这篇关于苹果推送通知反馈服务 - 频率不会检查的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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