You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Jan Piotrowski (Sujan) (JIRA)" <ji...@apache.org> on 2018/02/15 17:01:00 UTC
[jira] [Updated] (CB-12530) Build better device.uuid for Windows
8.1 /10
[ https://issues.apache.org/jira/browse/CB-12530?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jan Piotrowski (Sujan) updated CB-12530:
----------------------------------------
Component/s: (was: cordova-windows)
> Build better device.uuid for Windows 8.1 /10
> --------------------------------------------
>
> Key: CB-12530
> URL: https://issues.apache.org/jira/browse/CB-12530
> Project: Apache Cordova
> Issue Type: Improvement
> Components: cordova-plugin-device
> Reporter: Felix Schauerte
> Priority: Major
>
> 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;
> see https://docs.microsoft.com/en-us/uwp/api/Windows.Security.ExchangeActiveSyncProvisioning.EasClientDeviceInformation#Windows_Security_ExchangeActiveSyncProvisioning_EasClientDeviceInformation_Id
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org