Reputation: 1677
Apple documentation mentions certain scenarios when the device token may change :
APNs can issue a new device token for a variety of reasons like User installs your app on a new device, User restores device from a backup, User reinstalls the operating system, Other system-defined events.
Lets take one case where the User has reinstalled the IOS, then there is no way to know the old device token.
What is the way to update the old device token to a new device token ? Is there a way to find that the old device token is invalid ?
Does it mean that every time a new token is generated , the old device token information becomes stale and there is no way to find out that the old tokens are invalid.
References : Does a iOS Push notification device token change?
Upvotes: 0
Views: 607