APNs HTTP/2 network protocol Feedback issue with MDM

With iOS MDM, whenever we try to push something to device that doesnot have an MDM profile, the response from the provide is expected to be "410 The device token is no longer active for the topic." with a reason that says "Unregistered". But we always receive a 200 OK response from the provider.


Because of this, we are not able to handle devices that have their profile removed while offline. And we cannot proceed to production with such a huge issue.


Please advice

Replies

Have you tried polling the feedback service? (It's under "Legacy" in the documentation now, but from my testing with app push notifications, it's still necessary to use it if you want to disocver that a token has been unregistered. MDM push behavior might be different, I suppose.)