Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sending Push Notification without accessing UDID

I come to know that Apple started to reject apps that access UDIDs. Then How can we send push notification without accessing UDIDs. Is it possible? if yes, please help me to solve this problem.

thanks in advance.

like image 937
Vinay Avatar asked Nov 22 '25 11:11

Vinay


1 Answers

The device token (used by APNS) and the UDID are two different things. They have nothing to do with each other.

You obtain the device token for push notifications in your app delegate's application:didRegisterForRemoteNotificationsWithDeviceToken: method.

The documentation notes the following:

The device token is different from the uniqueIdentifier property of UIDevice because, for security and privacy reasons, it must change when the device is wiped.

like image 88
Attila H Avatar answered Nov 25 '25 10:11

Attila H