Jordan Clist created CB-9386:
--------------------------------
Summary: Use iOS identifierForVendor for the device UUID property
Key: CB-9386
URL: https://issues.apache.org/jira/browse/CB-9386
Project: Apache Cordova
Issue Type: Improvement
Components: iOS
Environment: iOS
Reporter: Jordan Clist
Priority: Minor
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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]