一旦创建,APNS 设备令牌是否会改变? [英] Does the APNS device token ever change, once created?

查看:23
本文介绍了一旦创建,APNS 设备令牌是否会改变?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

推送通知设备令牌创建后会改变吗?

Once created does the push notification device token ever change?

示例 应用何时更新?或者在任何其他情况下它可以改变??

Example when the app is updated? or in any other case it can change??

推荐答案

来自 [Apple 文档 ApplePushService]2

这个阶段的token信任形式保证了只有APNs生成它稍后将兑现的令牌,并且它可以向自己保证设备交给它的令牌与它之前的令牌相同为该特定设备提供 - 并且仅适用于该设备.

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.

这篇关于一旦创建,APNS 设备令牌是否会改变?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆