serialID

serialID plugin for Android
aquto0.0.10
platforms: android
$ cordova plugin add com.plugin.serialID

cordova-plugin-serialID

To install this plugin, follow the Command-line Interface Guide.

If you are not using the Cordova Command-line Interface, follow Using Plugman to Manage Plugins.

Exposes 1 methods:

  • get: returns serialID as string

Each method takes two arguments, success and error functions.

Usage examples:

window.plugins.serialID.get(
  function(serialID) {
    console.log("got serialID: " + serialID);
  },
  function() {
    console.log("error loading serialID");
  }
);