Does device token ever change in Apple Push Notifications

前端 未结 3 488
清歌不尽
清歌不尽 2021-01-06 19:19

I am developing an iOS app in which i have implemented Push Notification. Everything is working fine. But just wish to ask if device Token for my Apple device will ever cha

3条回答
  •  甜味超标
    2021-01-06 20:12

    Based on the Apple Documentation, the answer is YES:

    The form of this phase of token trust ensures that only APNs generates the token which it will later honor, and it can assure itself that a token handed to it by a device is the same token that it previously provisioned for that particular device—and only for that device.

    If the user restores backup data to a new device or reinstalls the operating system, the device token changes.

提交回复
热议问题