![]() ![]() The behaviour of this uuid is different on two different OS versions. ![]() The uuid on Android is a 64-bit integer (expressed as a hexadecimal string). // 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 // var deviceID = device. However the UUID can be different if the user deletes all apps from the vendor and then reinstalls it. Android: Returns a random 64-bit integer (as a string, again!) // // iOS: (Paraphrased from the UIDevice Class documentation) // Returns the UUID which is unique and the same for all apps installed by the same vendor. The value is set by the device manufacturer and may beÄifferent across versions of the same product. The device.model returns the name of the device's model or If Cordova Android 10.1.1 is installed on the Cordova project, the cordova.js file, in the Android application, will contain 10.1.1. Only the respective running platform's version is displayed. This property does not display other installed platforms' version information. The version information comes from the cordova.js file. ![]() Returns the Cordova platform's version that is bundled in the application. addEventListener ( "deviceready", onDeviceReady, false ) function onDeviceReady ( ) Installation cordova plugin add cordova-plugin-device ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |