Abhinav
Abhinav

Reputation: 38162

Life of a device token received from APNS

When we register a device with APNS for push notification we receive a device token back. Is there any expiry associated with this token on APNS? Is there any timeline after which APNS will discard that token?

Upvotes: 0

Views: 2265

Answers (1)

Jack Humphries
Jack Humphries

Reputation: 13267

The tokens do change from time to time, which is why APNS has a feedback server to alert you about tokens that don't work so you can remove them from your database. Also, APNS doesn't record the device tokens, it is up to you to upload them to a database on your server.

Upvotes: 3

Related Questions