OGeek|极客世界-中国程序员成长平台

标题: ios - 是否可以通过 APN 反馈系统确定设备上是否已卸载应用程序? [打印本页]

作者: 菜鸟教程小白    时间: 2022-12-13 10:45
标题: ios - 是否可以通过 APN 反馈系统确定设备上是否已卸载应用程序?

如果某个应用已安装在设备上,然后又被卸载,是否可以使用 APN 反馈服务来确定这一点?

反馈服务被记录为它可能知道没有响应通知的设备,但还包括其他信息,例如为什么它没有响应以及它何时开始没有响应等?

是否有任何方法可以确定应用程序是否已被卸载?或者知道设备上是否存在应用程序?

谢谢



Best Answer-推荐答案


简而言之,没有办法确定应用程序是否已被卸载。

查看我对 this question 的回答这可能会有所帮助:

The feedback service is designed to inform you of devices which have failed to deliver pushes for some time. You should act on the data in there and stop sending pushes to that device. It could take time to get into the feedback service though because it's only really meant to go in there when Apple have deemed that the device has uninstalled your app, or the device is no longer used, or a similar event rather than just the device is out of range at the moment and has no connection to APNS.

基本上,是的,您可以使用 APNS 的反馈服务,但它不会最终告诉您设备是否已被卸载。如果您需要知道这一点,那么不幸的是,您将不得不改变处理事情的方式,因为(目前)不可能知道。

关于ios - 是否可以通过 APN 反馈系统确定设备上是否已卸载应用程序?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8883078/






欢迎光临 OGeek|极客世界-中国程序员成长平台 (http://sqlite.in/) Powered by Discuz! X3.4