// Android: Returns a random 64-bit integer (as a string, again!)// The integer is generated on the device's first boot//// BlackBerry: Returns the PIN number of the device// This is a nine-digit unique integer (as a string, though!)//// iPhone: (Paraphrased from the UIDevice Class documentation)// Returns the [UIDevice identifierForVendor] UUID which is unique and the same for all apps installed by the same vendor. However the UUID can be different if the user deletes all apps from the vendor and then reinstalls it.// Windows Phone 7 : Returns a hash of device+current user,// if the user is not defined, a guid is generated and will persist until the app is uninstalled// Tizen: returns the device IMEI (International Mobile Equipment Identity or IMEI is a number// unique to every GSM and UMTS mobile phone.var deviceID =device.uuid;
// Android: Froyo OS would return "2.2"// Eclair OS would return "2.1", "2.0.1", or "2.0"// Version can also return update level "2.1-update1"//// BlackBerry: Torch 9800 using OS 6.0 would return "6.0.0.600"//// Browser: Returns version number for the browser//// iPhone: iOS 3.2 returns "3.2"//// Windows Phone 7: returns current OS version number, ex. on Mango returns 7.10.7720// Windows 8: return the current OS version, ex on Windows 8.1 returns 6.3.9600.16384// Tizen: returns "TIZEN_20120425_2"// OSX: El Capitan would return "10.11.2"//var deviceVersion =device.version;