Some requests to the Cloud App Licenser API require the ID of the user's device (Universally Unique Identifier or "UUID"). It is important that the "deviceid" parameter passed to our API is real so that your app interacts with our system in the expected way. Your app therefore must have permission to access device hardware and software details.

Cordova "Device" plugin

When using PhoneGap or Cordova to package your code for phones, this can be achieved using the Cordova "device" plugin in your app's config file:

<gap:plugin name="cordova-plugin-device" source="npm"/>

You can then use JavaScript to access the device's UUID:

var DeviceUuId = device.uuid;