用于开发和生产的 iOS 推送通知设备 token

标签 ios push-notification apple-push-notifications

有人知道 iOS 推送通知的设备 token 对于开发和生产版本是否相同吗?

最佳答案

在开发版本中注册自己与从 App Store 下载的应用程序时,客户端会获得不同的设备 token 。

注意,生产环境的device token和开发环境的device token不是同一个值。

引用:https://developer.apple.com/library/archive/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/CommunicatingwithAPNs.html

关于用于开发和生产的 iOS 推送通知设备 token ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22450229/

相关文章:

ios - 允许 UILabel 使用自动布局动态增长

ios - 通过模态视图 Controller 登录 View Controller

push-notification - 如何从服务器为单个目标手机(跨平台)创建推送通知到手机应用程序?

android - 向移动 whiteout APNS 或 GCM 发送推送通知

Java 套接字和丢弃的连接

ios - "imagePickerController: didFinishPickingMediaWithInfo:"的问题

amazon-web-services - AWS Mobile Push 与可能登录到多个设备的用户

iphone - 重置警报的推送通知设置

ios - APN后台刷新,设置AppDelegate.m

ios - 圆形 UIVisualEffectView