Here is my 410 status experience on APNS prod service; After removal of distribution application on device, I could get 410 response a few time, but then, after spending too much time on testing of APNS Http/2 API, I noticed that It returns always success(http 200) response for the previous device tokens which belongs removed application, even after 2–3 days.
I found these two lines of log in device after adding apns logging profile:
APSCourier: Received message for recently removed topic ‘com.xxx.xxx.xxx’
APSCourier: Sending acknowledgement message
I think, It is about asynchronous flow of receiving notification of removed topic on device and sending its acknowledgement message to the back APNS from device. Somehow APNS does not take action about these acknowledgements.
By considering the current state of APNS behaviour, using new APNS Notification Service to having it as a part of uninstallation tracking process is not a right approach for now.
Instead of APNS, you can execute background task to ping your server for letting you to detect about uninstallation status.
And want to share a few link from apple developer forums, discussing parallel topics:
APNs token still valid after app uninstalled
Older APNs device tokens do reach the device
Old APNs tokens not invalidating?
How do APNS HTTP/2 and APNS HTTP/1.1 Work together?
When does APNS report an uninstall?