Reputation: 15
I'm currently working on an iPhone application and one of the critical requirements of the application is to display a message after uninstalling the application.
If it is possible, can anybody please give a solution in Objective-C language.
Upvotes: 0
Views: 133
Reputation: 1499
If your application uses APNS (apple push notifications service), you can send a periodic push notification (a silent one) to all devices, and if you get "410 - The device token is no longer active for the topic" it means that the device is no longed registered, and the app was uninstalled (probably, the user can also disable push for the specific app).
This was previously implemented using the "Feedback service" on APNS, but it seems now its done directly when sending the push.
please also see here:
Does APNS Feedback service no longer exist as per new APIs?
Upvotes: 1