-
Type:
Improvement
-
Status: Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: cordova-plugin-device
-
Labels:None
Currently the device uuid is read from Windows.System.Profile.HardwareIdentification.getPackageSpecificToken(null).id
This value depends on the hardware configuration of the device. It will e.g. change even if a USB drive gets (dis)connected.
To provide a more stable device uuid you coud use the following snippet. The value would then depend on device and user and would even 'survive' an app uninstall.
var easClientDeviceInformation = new Windows.Security.ExchangeActiveSyncProvisioning.EasClientDeviceInformation();
var deviceUUID = easClientDeviceInformation.id;