Unique identifier for phonegap on iOs
cordova, ios
Solution
Now `device.uuid` returns the identifierForVendor on iOS, so my plugin is not needed anymore.
Old Answer: You can still use the `device.uuid`, but it isn't a real UUID
from phonegap doc
iOS Quirk
The uuid on iOS is not unique to a device, but varies for each application, for each installation. It changes if you delete and re-install the app, and possibly also when you upgrade iOS, or even upgrade your app per version (apparent in iOS 5.1). The uuid is not a reliable value.
I have a MAC address phonegap plugin, but I've heard you can't get the MAC address on iOS 7
My plugin no longer works, it's not possible to get the MAC address on iOS 7
EDIT: BTW, I created an Identifier For Vendor Plugin https://github.com/jcesarmobile/IDFVPlugin
With this plugin you can get the iOS identifier for vendor
Problem
I need to identify user in phonegap application. In documentation I found device.uuid (http://docs.phonegap.com/en/2.0.0/cordova_device_device.md.html#device.uuid), but it works only on Android. On iOs it's deprecated: https://developer.apple.com/news/index.php?id=3212013a#top. I saw some solutions in native iOs code, that gets MAC address of device, but I need phonegap solution. Thanks!