Posts

Post not yet marked as solved
3 Replies
From Apple's dev team:APNs will eventually report that the push token is invalid after an app has been uninstalled. The time between an uninstall and the invalidation is dependent on various factors, and the details of when this will happen is not documented.The guidance here is to send the puhes to devices until you receive an error response from APNs. Sending pushes to non-existent apps does not cause any harm.We have no recommendations for determining when users uninstall apps. Our current implementation is indeed designed to avoid such detection by developers, and as such, we have no services, API, or code samples to have alerts sent when an app is uninstalled.
Post not yet marked as solved
3 Replies
From Apple's dev team:APNs will eventually report that the push token is invalid after an app has been uninstalled. The time between an uninstall and the invalidation is dependent on various factors, and the details of when this will happen is not documented.The guidance here is to send the puhes to devices until you receive an error response from APNs. Sending pushes to non-existent apps does not cause any harm.We have no recommendations for determining when users uninstall apps. Our current implementation is indeed designed to avoid such detection by developers, and as such, we have no services, API, or code samples to have alerts sent when an app is uninstalled.