We’re currently using PhoneGap for our mobile applications, and I know they have device.udid (http://docs.phonegap.com/en/1.0.0/phonegap_device_device.md.html#device.uuid) to get unique identifiers. What’s the best way to future-proof so that our current applications will work when iOS 6 comes out? Should we start using some of the other solutions out there (MAC address, etc.) to ensure future-compatibility?
We’re currently using PhoneGap for our mobile applications, and I know they have device.udid
Share
Check out the documentation for
CFUUIDCreatehttps://developer.apple.com/library/mac/#documentation/CoreFoundation/Reference/CFUUIDRef/Reference/reference.html
I use the method below to create a UUID and save it to the user preferences the first time the app is started: