Device Plugin
document.addEventListener("deviceready", onDeviceReady, false);
function onDeviceReady() {
console.log(device.cordova);
}Plugin ID
cordova-plugin-deviceAdding the Plugin in Monaca
Properties
device.cordova
Supported Platforms
device.model
Supported Platforms
Quick Example
Android Quirks
device.platform
Supported Platforms
Quick Example
device.uuid
Description
Supported Platforms
Quick Example
iOS Quirk
device.version
Supported Platforms
Quick Example
device.manufacturer
Supported Platforms
Quick Example
device.isVirtual
Supported Platforms
device.serial
Supported Platforms
Last updated