Is the APN Device Token unique to each individual app?

前端 未结 6 1899
名媛妹妹
名媛妹妹 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:04

    NOTE: this is an old answer that is true only for iOS <= 6. See user1641761's answer for the current approach.

    Figured it out. The Device Tokens are NOT unique to the phone-app pairing. They are unique to the phone only. If you have multiple apps with push on the same phone they will all use the same Device Token. The certificate you use to send the notification will dictate which app it goes to.

提交回复
热议问题