UDID for Push Notification instead of Device Token?

apple-push-notifications, ios, push-notification, udid

Solution

No, you can only use the Device Token. The push notification server API will only accept Device tokens and will also check if you are allowed to send a notification to that installation by checking the Certificate.

The Device token is unique for your app on a specific device. If the user has multiple devices he/she will also have multiple device tokens (one for each install of your app).

When the user deletes your app and reinstalls it the device token can also change.

Also, the UDID is no longer useable by developers, Apple has restricted the use of the UDID and you can longer use the UDID anywhere in your code.

Problem

I just successfully implemented a sample push notification in iOS. Currently, I used the device token in sending the message.Now, I have a question regarding Push Notification requirements. Can we use the `UDID` of the device for Push Notification instead of Device Token? I know the device token can do the work alone but is it possible to use `UDID` for push notification? Does Apple allow that?

Original source