When device is registered for remote push notification the following method is called back.
(void)application:(UIApplication *)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken
My question is
- Can one use this(deviceToken) to uniquely identify device. If yes then what is the life cycle(I mean is it really uniq) of this?
- Under what circumstances can the deviceToken provided can change?
- If this is uniq per device till the life of device(for a particular app vendor) then can one use this as an alternative over Unique Identification of iOS device ?
Edit
I intended to write device in the question heading but wrote user.