Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 4 months 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: 2024-09-26T20:08:49.000Z (4 months ago)
- Last Synced: 2024-10-02T09:45:27.092Z (4 months 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: 751 KB
- Stars: 4
- Watchers: 4
- 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
[![Linting](https://github.com/timbru31/cordova-plugin-android-device-information/workflows/Linting/badge.svg)](https://github.com/timbru31/cordova-plugin-android-device-information/actions?query=workflow%3ALinting)
[![npm audit](https://github.com/timbru31/cordova-plugin-android-device-information/workflows/Security/badge.svg)](https://github.com/timbru31/cordova-plugin-android-device-information/actions?query=workflow%3ASecurity)[![Known Vulnerabilities](https://snyk.io/test/github/timbru31/cordova-plugin-android-device-information/badge.svg)](https://snyk.io/test/github/timbru31/cordova-plugin-android-device-information)
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](https://commitizen.github.io/cz-cli/)
[![License](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
[![npm](https://img.shields.io/npm/v/cordova-plugin-android-device-information.svg)](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.