cordova-plugin-android-device-information

2.0.0 • Public • Published

cordova-plugin-android-device-information

Build Status

Dependency Status devDependency Status Known Vulnerabilities

Commitizen friendly Dependabot Status License npm

Cordova plugin to get specific Android device information

Supported platforms

  • Android

Installation

from npm (recommended)

$ cordova plugin add cordova-plugin-android-device-information

from git (unstable)

$ cordova plugin add https://github.com/timbru31/cordova-plugin-android-device-information.git

Usage

Get one of the following properties (replace __X__)

  • getProduct
  • getOSVersion
  • getRelease
  • getSecurityPatch
  • getModel
  • getDevice
  • getSDK (returns a number)
  • getManufacturer
  • getBoard
  • getType
  • getDisplay
  • getHardware
  • getHost
  • getBrand
cordova.plugins.androidDeviceInformation.get_X_().then(value => {
    // returns the value
});

Built by (c) Tim Brust and contributors. Released under the MIT license.

Package Sidebar

Install

npm i cordova-plugin-android-device-information

Weekly Downloads

32

Version

2.0.0

License

MIT

Unpacked Size

31.6 kB

Total Files

9

Last publish

Collaborators

  • timbru31