VivienCormier
VivienCormier

Reputation: 1133

How can I detect if a device token is obsolete?

I have a big database with devices token.

I guess a lot of my base are obsolete token.

How can I detect if a device token is obsolete?

Thank you.

Upvotes: 0

Views: 165

Answers (1)

Anupdas
Anupdas

Reputation: 10201

For this exact reason, Apple provides a feed back service. You should set up a batch process or stored procedure in your database which periodically fetches invalid tokens and removes or mark as inactive in the database.

APNS : Feedback Service

Upvotes: 1

Related Questions