gpt4 book ai didi

ios - iOS 推送通知设备 token 是否更改?

转载 作者:可可西里 更新时间:2023-11-01 05:02:38 24 4
gpt4 key购买 nike

在任何情况下,安装应用程序并注册通知后,设备 token 是否有可能发生变化。

场景如:

  • 应用更新
  • iOS 更新或在任何其他随机场景中。

最佳答案

以前在文档中是这样的,

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

来自新文档:

https://developer.apple.com/library/archive/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/APNSOverview.html

Important: To protect user privacy, do not attempt to use a device token to identify a device.

APNs can issue a new device token for a variety of reasons:

  • User installs your app on a new device

  • User restores device from a backup

  • User reinstalls the operating system

  • Other system-defined events

As a result, apps must request the device token at launch time, as described in APNs-to-Device Connection Trust and Device Tokens.

关于ios - iOS 推送通知设备 token 是否更改?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40169404/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com