Is the APN Device Token unique to each individual app?

前端 未结 6 1906
名媛妹妹
名媛妹妹 2020-12-12 10:50

I have two apps on the iTunes store - both implement push notifications. While I was testing sending notifications to these production apps, I noticed that a push intended

6条回答
  •  忘掉有多难
    2020-12-12 11:15

    iOS 7 handle this differently. It is UNIQUE now.

    Please see point 1 in this article: http://urbanairship.com/blog/2013/10/03/how-ios-7-handles-push-differently

    "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."

    See also ios 7 device token is different for same device

提交回复
热议问题