If I am an Apple Push Notifier provider for " multiple iOS applications, can I use the same token for multiple applications? I know that I need unique SSL certificates for each application. However, I got confused in the device tokens.
An example . I have two applications A and B. I want to provide push notifications for both applications. Say I collect a device token T from a user who installs application A. Suppose I have unique SSL certificates for both applications. When the same user installs application B, can I reuse the T token when providing push notifications for application B?
Additional information : after re-reading Apple docs is still not clear. This paragraph, in particular, suggests that the device token can be reused:
Each notification that a provider sends APNs for delivery to a device must be accompanied by a device token received from the application on that device. APN decrypts the token using the token key, thereby ensuring that the notification is valid. It then uses the device identifier contained in the device token to determine the target device for notification.
Note It appears that the “subject” / batch identifier contained in the SSL provider certificate for each application sends notifications to a specific application on the device. Therefore, it seems plausible that device tokens are unique to the device (and not to applications on the device).
source share