gpt4 book ai didi

ios - 苹果推送通知反馈服务 - 我无法从反馈服务中获得任何信息

转载 作者:塔克拉玛干 更新时间:2023-11-02 09:32:26 24 4
gpt4 key购买 nike

当我连接到反馈服务时,它可以成功连接,但我从反馈服务中什么也得不到。

我已经从我的设备上卸载了该应用程序,然后再次推送,然后连接到反馈服务,但即使是第二天,我仍然一无所获。

有什么想法吗?

最佳答案

If you remove your app from your device or computer 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 or computer, 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.

You can work around this by leaving at least one push-enabled app on the device or computer in order to keep the persistent connection up. To keep the persistent connection to the production environment 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.

Recall that each push environment has its own persistent connection. So to keep the persistent connection to the sandbox environment up, install another development push-enabled app.

来源:Apple Documentation

因此,只需在卸载您自己的应用程序后从应用程序商店安装任何支持推送的应用程序,您的设备 token 就会被反馈服务触发。

注意您使用的证书和环境(沙盒/生产)。另请记住,反馈服务仅列出您上次推送失败的交付尝试。

关于ios - 苹果推送通知反馈服务 - 我无法从反馈服务中获得任何信息,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10751827/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com