amitanmol / DeviceInfo

This cordova plugin is used to get device infomations.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DeviceInfo

This cordova plugin is used to get device infomations.

Installation

cordova plugin add cordova-plugin-deviceinfo

Supported Platform

  • iOS
  • Android (will be comming)

Usage

Get device info

cordova.plugins.DeviceInfo.deviceInfo(success, fail);

Success callback function:

function success(response){ console.log("Response: " + response); };

Fail callback function:

function fail(error){ console.log("Error: " + error); };

About

This cordova plugin is used to get device infomations.

License:MIT License


Languages

Language:Objective-C 52.0%Language:Java 41.6%Language:JavaScript 6.4%