I was looking into ways of uniquely identifying and mapping user-device for our application and found this:
We are creating our own UUID per device at backend and using that as a device specific id. The problem is when users restore with an iCloud or iTunes backup on their other phones all the device statistics and defaults are there in the new phone. I need a way to reset everything if there is a new phone (give a new id to this new device for user).
I have already implemented this functionality: If Model or Size of the phone is different from what it was seen first, I reset the defaults and consider it as a new phone but this fails if user restores everything to a new phone of same model and size.
Is the method defined in the link above going to create unique UDID for every new device?
Is there any solution for the iTunes Restore issue from same model and size mentioned above?
Any help in this is highly appreciated.