Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
-
iOS
Description
The UUID used in Cordova device plugin is currently just generating a new UUID and saving to preferences. This can be improved by using iOS identifierForVendor which has been in use since at least iOS 6 (maybe earlier).
This means the UUID will be the same across multiple apps from the same vendor.
I have made the adjustments in this pull request:
https://github.com/apache/cordova-plugin-device/pull/36
This should be backwards compatible as we still check the NSUserDefaults before using identifierForVendor so previous installs will not be affected.