cordova.device

This plugin defines a global device object, which describes the device’s hardware and software. Although the object is in the global scope, it is not available until after device event. Properties device.cordova device.model device.platform device.uuid device.version These properties must be called after deviceready event fired to be sure that device can be fetched. Quick Example document.addEventListener(“deviceready”, callback, false); function callback() { […]

Read More