https://github.com/timbru31/cordova-plugin-android-device-information
🕵️♂️ Apache Cordova plugin to get specific Android device information
https://github.com/timbru31/cordova-plugin-android-device-information
android cordova cordova-android cordova-android-plugin cordova-plugin ionic ionic-plugin kotlin phonegap phonegap-plugin typescript
Last synced: about 1 month ago
JSON representation
🕵️♂️ Apache Cordova plugin to get specific Android device information
- Host: GitHub
- URL: https://github.com/timbru31/cordova-plugin-android-device-information
- Owner: timbru31
- License: mit
- Created: 2018-09-09T21:20:26.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2025-04-14T20:20:45.000Z (about 1 month ago)
- Last Synced: 2025-04-15T02:53:46.736Z (about 1 month ago)
- Topics: android, cordova, cordova-android, cordova-android-plugin, cordova-plugin, ionic, ionic-plugin, kotlin, phonegap, phonegap-plugin, typescript
- Language: Kotlin
- Homepage: https://www.npmjs.com/package/cordova-plugin-android-device-information
- Size: 646 KB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# cordova-plugin-android-device-information
[](https://github.com/timbru31/cordova-plugin-android-device-information/actions?query=workflow%3ALinting)
[](https://github.com/timbru31/cordova-plugin-android-device-information/actions?query=workflow%3ASecurity)[](https://snyk.io/test/github/timbru31/cordova-plugin-android-device-information)
[](https://commitizen.github.io/cz-cli/)
[](LICENSE)
[](https://www.npmjs.com/package/cordova-plugin-android-device-information)#### Apache 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```js
cordova.plugins.androidDeviceInformation.get_X_().then((value) => {
// returns the value
});
```---
Built by (c) Tim Brust and contributors. Released under the MIT license.