Search code examples
iphoneiosapple-push-notificationsdevicetoken

Is Device token for ANPS changed if i download same application after deleting it?


I want to know about changing DeviceToken for same Device.

Here I explain you,

Suppose i download application from AppStore to my device, then app will register device token to server. - lets say it is TOKEN1

Now i delete that app from my Device.And again download that app from AppStore, then the app will again register device token to server. - lets say it is TOKEN2

My question is is TOKEN1 and TOKEN2 are Same?

please clear my doubts.

Thank you,


Solution

  • They will be same as far as device certificate is same for application.

    For further information read apple docs It says : APNs generates a device token using information contained in the unique device certificate