Wednesday, 21 August 2013

Can device token of Push Notification be used as a unique identifier?

Can device token of Push Notification be used as a unique identifier?

Problem: using UDID is deprecated - we cannot use it anymore. There are
some solutions on the net: generate GUID and store it in the "safe place",
iCloud, IdentifierForVendor starting with iOS6, OpenUID, SecuredID and so
on...
Request: I need to have a unique identifier of the Device to store user
data on our server.
Question: Can I use deviceToken of Push Notification as a unique identifier?
What are the pros and cons of this idea?
(-) user can disable push notifications
(+) unique number
(+) supported in all iOS

No comments:

Post a Comment