0

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,

Nignesh
  • 197
  • 1
  • 10
  • 1
    check this, http://stackoverflow.com/questions/6652242/does-the-device-token-ever-change-once-created – waheeda Oct 08 '12 at 05:11
  • It will remain same, even if you create new application with same certificate and on same device, Device Token will be similar for both :). – Kamleshwar Oct 08 '12 at 06:11

1 Answers1

1

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

DivineDesert
  • 6,924
  • 1
  • 29
  • 61