How to get invalid device tokens in new apple push notifications api.

We use to get invalid device tokens from apple using following java jar (which uses old socket way using binary communication). Now we are trying to migrate to new apple api using HTTP/2 way, but I don't find any api to pull invalid device tokens.


gradle dependency:

// https://mvnrepository.com/artifact/com.notnoop.apns/apns

implementation 'com.notnoop.apns:apns:0.2.3'


Questions:

  1. Is there an API to get invalid tokens in new apple push notification api HTTP/2? or any other way?
  2. do we still need to get invalid tokens and clear from our local server cache and make sure not to send notifications to invalid tokens?
  3. If we keep pushing notifications to invalid device tokens using api, is there any impact? does apple take that in serious note and block any future requests?


Your help would be much appreciated !!!!

Posted on Sep 21, 2022 3:54 AM

Reply

Similar questions

There are no replies.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How to get invalid device tokens in new apple push notifications api.

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.