ios 7 设备令牌对于同一设备是不同的 [英] ios 7 device token is different for same device

查看:28
本文介绍了ios 7 设备令牌对于同一设备是不同的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在一台设备上安装了两个应用程序.对于 iOS 7,两个应用都发送不同的设备令牌,但对于 iOS 6,两个应用都发送相同的设备令牌.

I have two applications in one device. For iOS 7 both applications are sending different device tokens but for iOS 6 both apps are sending same device token.

根据我的理解,一台设备中的所有应用程序的设备令牌必须相同.iOS7 和 iOS 6 有什么不同吗?

As per my understanding device token has to be same for all the application in one device. Is there something different in iOS7 than iOS 6?

推荐答案

这个也很有帮助.请参阅本文的第 1 点:https://support.urbanairship.com/customer/portal/articles/1321513-how-ios-7-handles-push-differently

This one was also helpful.Please see point 1 in this article: https://support.urbanairship.com/customer/portal/articles/1321513-how-ios-7-handles-push-differently

在 iOS 7 之前,设备令牌在给定设备上的所有应用程序安装中是相同的.您手机上的不同应用程序,无论是 Tap Tap Revenge 还是 USA Today,都将使用相同的地址,即设备令牌,以将推送通知发送给您.您与消息配对的安全凭证将确保它发送到正确的应用程序.在 iOS 7 上,Apple 更进一步,确保设备令牌现在在每个单个应用安装.通过删除另一个手机级标识符,这有助于进一步保护用户的隐私."

"Prior to iOS 7, the device token was the same across all app installations on a given device. Different apps on your phone, whether Tap Tap Revenge or USA Today, would utilize the same address, i.e., device token, to route the push notification to you. The security credentials that you pair with a message would ensure it made it to the right app. On iOS 7, Apple has gone one step further and made sure that device tokens are now different in every single app install. This helps further protect users’ privacy by removing another phone-level identifier."

这篇关于ios 7 设备令牌对于同一设备是不同的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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