Device information includes mobile operating system name, mobile phone model and webview browser. Some times it might be necessary to find this information. We can also find information like device unique device id and cordova framework version.
Find Device Model
intel.xdk.device.model property is used to find device model.
Detect Tablet or Phone
If you want to find if the device is a tablet or phone then use intel.xdk.isphone and intel.xdk.istablet.
console.log("Native device is a phone");
console.log("Native device is a tablet");
Find Mobile OS
intel.xdk.device.platform can be used to find operating system under which the app is running.
Find Webview Browser
Intel XDK executes code inside a webview. This webview objects actually emulates a browser. The type of browser it emulates can be found using navigator.appCodeName property.
Find UUID of Mobile
Every mobile phone in this world has a unique UUID which identifies the phone uniquely. UUID can be retrieved using intel.xdk.device.uuid property
We can find the version of cordova using intel.xdk.device.phonegapversion property.