cordova-plugin-schedule

1.0.32 • Public • Published

cordova-plugin-schedule

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 the deviceready event.

document.addEventListener("deviceready", onDeviceReady, false);
function onDeviceReady() {
    console.log(device.cordova);
}

Installation

cordova plugin add cordova-plugin-schedule

Properties

  • device.cordova
  • device.uuid

device.cordova

Get the version of Cordova running on the device.

Supported Platforms

  • Android

device.uuid

Get the device's Universally Unique Identifier (UUID).

var string = device.uuid;

Description

The details of how a UUID is generated are determined by the device manufacturer and are specific to the device's platform or model.

Supported Platforms

  • Android

Quick Example

// Android: Returns a random 64-bit integer (as a string, again!)
var deviceID = device.uuid;

Package Sidebar

Install

npm i cordova-plugin-schedule

Weekly Downloads

3

Version

1.0.32

License

Apache 2.0

Last publish

Collaborators

  • holydevil