cordova-plugin-android-device-information
v2.0.0
Published
Cordova plugin to get specific Android device information
Downloads
110
Maintainers
Readme
cordova-plugin-android-device-information
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.