如果应用程序安装在设备上然后又被卸载,是否可以使用 APN 反馈服务来确定这一点?
反馈服务被记录为可以知道未响应通知的设备,但还包含其他信息,例如为什么它不响应以及何时第一次开始不响应等?
有什么方法可以确定应用程序是否已被卸载?或者知道设备上是否存在应用程序?
谢谢
最佳答案
简而言之,没有办法确定应用程序是否已被卸载。
查看我对 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/