cordova-plugin-android-device-information
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -1,36 +0,94 @@ | ||
# Change Log | ||
# Changelog | ||
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. | ||
<a name="1.1.1"></a> | ||
## [1.1.1](https://github.com/timbru31/cordova-plugin-android-device-information/compare/v1.1.0...v1.1.1) (2019-01-26) | ||
### [1.1.2](https://github.com/timbru31/cordova-plugin-android-device-information/compare/v1.1.1...v1.1.2) (2020-04-02) | ||
### Bug Fixes | ||
* version number ([03a7be1](https://github.com/timbru31/cordova-plugin-android-device-information/commit/03a7be1)) | ||
- hooks location ([decc873](https://github.com/timbru31/cordova-plugin-android-device-information/commit/decc873a0851823ed6deea7e5db132a42922550a)) | ||
### Build System | ||
- adds missing replace dependency ([c1d6387](https://github.com/timbru31/cordova-plugin-android-device-information/commit/c1d63870320e05f36df8622a31323037fe51dda2)) | ||
- **deps:** upgrades Kotlin to v1.3.71 ([11e16e6](https://github.com/timbru31/cordova-plugin-android-device-information/commit/11e16e6694984f658fd7ab6305bb9f6ce633b327)) | ||
- adds funding link to npm ([40f8167](https://github.com/timbru31/cordova-plugin-android-device-information/commit/40f816706769bfe36dd71d293b398a3fd4569883)) | ||
- updates dependencies ([93e9274](https://github.com/timbru31/cordova-plugin-android-device-information/commit/93e92744417b876dbe63b6c012dc613d2d100b75)) | ||
- **deps:** **security** rebuilds lockfile to fix npm audit warning ([3189bc7](https://github.com/timbru31/cordova-plugin-android-device-information/commit/3189bc7fef78b1145db4b6413d6ba0ec48ad1eee)) | ||
- use ES2020 feature set for TypeScript ([140aff7](https://github.com/timbru31/cordova-plugin-android-device-information/commit/140aff727a81440b15d8e1ad831263ba4530aa30)) | ||
- **deps:** [security] bump handlebars from 4.0.12 to 4.1.0 ([2e39cd9](https://github.com/timbru31/cordova-plugin-android-device-information/commit/2e39cd918a5d286365d80bd4e70d0ee1b98e816b)) | ||
- **deps:** [security] bump lodash from 4.17.10 to 4.17.11 ([a25c00a](https://github.com/timbru31/cordova-plugin-android-device-information/commit/a25c00aa11292d2cdf38b5e2f4db2352cbe76c14)) | ||
- **deps:** [security] bump lodash from 4.17.11 to 4.17.14 ([6b4590f](https://github.com/timbru31/cordova-plugin-android-device-information/commit/6b4590f54098bf4546a8f2c5a42bf964ac6aad84)) | ||
- **deps:** [security] bump lodash.template from 4.4.0 to 4.5.0 ([1c35f91](https://github.com/timbru31/cordova-plugin-android-device-information/commit/1c35f916959ba59b6c8c6c052b49a922786fd368)) | ||
- **deps-dev:** bump prettier from 1.19.1 to 2.0.2 ([eadb5c5](https://github.com/timbru31/cordova-plugin-android-device-information/commit/eadb5c5b906eed2a072e17b4e1dd1572c252d46c)) | ||
- **deps-dev:** bump standard-version from 4.4.0 to 5.0.0 ([7529d37](https://github.com/timbru31/cordova-plugin-android-device-information/commit/7529d37f6f8d65257442471a08d3a2a019db1bef)) | ||
- **deps-dev:** bump standard-version from 5.0.0 to 5.0.1 ([4eea159](https://github.com/timbru31/cordova-plugin-android-device-information/commit/4eea15953379ff9817327af81af2e1de8c662f12)) | ||
- **deps-dev:** bump standard-version from 5.0.1 to 5.0.2 ([a403418](https://github.com/timbru31/cordova-plugin-android-device-information/commit/a403418c292489062839d8b0fc69ccd000abcff9)) | ||
- **deps-dev:** bump standard-version from 5.0.2 to 6.0.1 ([2789511](https://github.com/timbru31/cordova-plugin-android-device-information/commit/278951156195e539dd8b68da0fc5c31a80054e6e)) | ||
- **deps-dev:** bump standard-version from 5.0.2 to 6.0.1 ([#29](https://github.com/timbru31/cordova-plugin-android-device-information/issues/29)) ([b790951](https://github.com/timbru31/cordova-plugin-android-device-information/commit/b7909516ec0109cbee7a6e7aad5890898d267e95)) | ||
- **deps-dev:** bump standard-version from 6.0.1 to 7.0.0 ([ca836f5](https://github.com/timbru31/cordova-plugin-android-device-information/commit/ca836f5954cc6d00ea60908296b39a23dbb38449)) | ||
- **deps-dev:** bump standard-version from 6.0.1 to 7.0.0 ([#37](https://github.com/timbru31/cordova-plugin-android-device-information/issues/37)) ([5b66410](https://github.com/timbru31/cordova-plugin-android-device-information/commit/5b6641085fc2e7fdd17adab86d793418a11cb67a)) | ||
- **deps-dev:** bump standard-version from 7.0.0 to 7.0.1 ([2449751](https://github.com/timbru31/cordova-plugin-android-device-information/commit/2449751e125a63a2df059bff8c0e44e9b66e0bdf)) | ||
- **deps-dev:** bump standard-version from 7.0.1 to 7.1.0 ([76d7932](https://github.com/timbru31/cordova-plugin-android-device-information/commit/76d7932a83a566502aa46b70ab2737bacef15937)) | ||
- **deps-dev:** bump tslint from 5.12.1 to 5.13.0 ([605b336](https://github.com/timbru31/cordova-plugin-android-device-information/commit/605b33631f36c1b7d777507e60a74d061e4fe115)) | ||
- **deps-dev:** bump tslint from 5.13.0 to 5.13.1 ([b5dd367](https://github.com/timbru31/cordova-plugin-android-device-information/commit/b5dd367e936fc48ef8b0796f9ea1b80932364a03)) | ||
- **deps-dev:** bump tslint from 5.13.1 to 5.14.0 ([621c544](https://github.com/timbru31/cordova-plugin-android-device-information/commit/621c544ab4fc4eea3fe6def7e62d9322ea525d4c)) | ||
- **deps-dev:** bump tslint from 5.14.0 to 5.15.0 ([3d15166](https://github.com/timbru31/cordova-plugin-android-device-information/commit/3d15166d95c162175fbb1c55fd4fd995cfa459e8)) | ||
- **deps-dev:** bump tslint from 5.15.0 to 5.16.0 ([4580ca6](https://github.com/timbru31/cordova-plugin-android-device-information/commit/4580ca610f96dbe24e8268bd27f51e588fa6a2bb)) | ||
- **deps-dev:** bump tslint from 5.16.0 to 5.17.0 ([776943c](https://github.com/timbru31/cordova-plugin-android-device-information/commit/776943c59c3d73a9fd80d38212f4b58c99e9eefb)) | ||
- **deps-dev:** bump tslint from 5.17.0 to 5.18.0 ([5fe12de](https://github.com/timbru31/cordova-plugin-android-device-information/commit/5fe12de6400b2f003be9ff9f94f50864031d435c)) | ||
- **deps-dev:** bump tslint from 5.18.0 to 5.19.0 ([45200f0](https://github.com/timbru31/cordova-plugin-android-device-information/commit/45200f045810f028903e1d820fb715a961f56c43)) | ||
- **deps-dev:** bump tslint from 5.19.0 to 5.20.0 ([8a614e8](https://github.com/timbru31/cordova-plugin-android-device-information/commit/8a614e8b7bf39e75abb615c51d3e1f9b16bced8f)) | ||
- **deps-dev:** bump tslint from 5.20.0 to 5.20.1 ([fd25fea](https://github.com/timbru31/cordova-plugin-android-device-information/commit/fd25feaef1687f4c20f2ed8a407e8ef5a3250f39)) | ||
- **deps-dev:** bump tslint from 5.20.1 to 6.0.0 ([93ac468](https://github.com/timbru31/cordova-plugin-android-device-information/commit/93ac468f8d2f16576ec3c42bbbdedec0d205c074)) | ||
- **deps-dev:** bump tslint from 5.20.1 to 6.0.0 ([#50](https://github.com/timbru31/cordova-plugin-android-device-information/issues/50)) ([24ae772](https://github.com/timbru31/cordova-plugin-android-device-information/commit/24ae772eb1a94b5730ed08ff50e6ca2f25e9aaa8)) | ||
- **deps-dev:** bump tslint from 6.0.0 to 6.1.0 ([eb32eb1](https://github.com/timbru31/cordova-plugin-android-device-information/commit/eb32eb1638fcacaa01d7e957a78b8b7280599792)) | ||
- **deps-dev:** bump typescript from 3.2.4 to 3.3.1 ([f77b032](https://github.com/timbru31/cordova-plugin-android-device-information/commit/f77b032ba62885a684c355e0a0482fce3e910ac2)) | ||
- **deps-dev:** bump typescript from 3.3.1 to 3.3.3 ([abb9dd2](https://github.com/timbru31/cordova-plugin-android-device-information/commit/abb9dd2fe707889aae2e0ef8618406e15754744d)) | ||
- **deps-dev:** bump typescript from 3.3.3 to 3.3.3333 ([b7cfbbe](https://github.com/timbru31/cordova-plugin-android-device-information/commit/b7cfbbe23b172d53ff8b29c951d0929af56705cc)) | ||
- **deps-dev:** bump typescript from 3.3.3333 to 3.3.4000 ([eda00ee](https://github.com/timbru31/cordova-plugin-android-device-information/commit/eda00eed3027c2e677c28c919befb5f7d863ae9a)) | ||
- **deps-dev:** bump typescript from 3.3.4000 to 3.4.1 ([4219a8c](https://github.com/timbru31/cordova-plugin-android-device-information/commit/4219a8c96e1d1844e9d23fea0cbeecc36157046f)) | ||
- **deps-dev:** bump typescript from 3.4.1 to 3.4.2 ([72b6402](https://github.com/timbru31/cordova-plugin-android-device-information/commit/72b640212ba1da30c02d68a52dd58448eae7fdcd)) | ||
- **deps-dev:** bump typescript from 3.4.2 to 3.4.3 ([9107945](https://github.com/timbru31/cordova-plugin-android-device-information/commit/9107945d2c2db949d49972957066c424aca8521c)) | ||
- **deps-dev:** bump typescript from 3.4.3 to 3.4.4 ([f866d67](https://github.com/timbru31/cordova-plugin-android-device-information/commit/f866d678ceaedda5ce87bce28dc05c68cec507fd)) | ||
- **deps-dev:** bump typescript from 3.4.5 to 3.5.1 ([0f1c2d3](https://github.com/timbru31/cordova-plugin-android-device-information/commit/0f1c2d355c71f9c9c24a1fda4085cbffbe5ac6e2)) | ||
- **deps-dev:** bump typescript from 3.5.1 to 3.5.2 ([e61f212](https://github.com/timbru31/cordova-plugin-android-device-information/commit/e61f2123fc15c4d8740efd53f0bf3c48257094d7)) | ||
- **deps-dev:** bump typescript from 3.5.2 to 3.5.3 ([80b37d7](https://github.com/timbru31/cordova-plugin-android-device-information/commit/80b37d7a0ba1268acba4b7d23cd46476b2f4cbf4)) | ||
- **deps-dev:** bump typescript from 3.5.3 to 3.6.3 ([ff1c85c](https://github.com/timbru31/cordova-plugin-android-device-information/commit/ff1c85c71dd25ed718396e6e8fe596181fa3a491)) | ||
- **deps-dev:** bump typescript from 3.6.3 to 3.6.4 ([d68897b](https://github.com/timbru31/cordova-plugin-android-device-information/commit/d68897b927294d8cbe8634d038ab506f8e1e07fe)) | ||
- **deps-dev:** bump typescript from 3.6.4 to 3.7.2 ([6a5e4d2](https://github.com/timbru31/cordova-plugin-android-device-information/commit/6a5e4d2cf03f3cc84216463da37d6ba2f4eb0dda)) | ||
- **deps-dev:** bump typescript from 3.7.2 to 3.7.3 ([e869a54](https://github.com/timbru31/cordova-plugin-android-device-information/commit/e869a54e9ed4704a70a4843c338803116f6ae46e)) | ||
- **deps-dev:** bump typescript from 3.7.3 to 3.7.4 ([93af649](https://github.com/timbru31/cordova-plugin-android-device-information/commit/93af649db94358b7e8dc474815b97f3a988a6a17)) | ||
- **deps-dev:** bump typescript from 3.7.4 to 3.7.5 ([429bd13](https://github.com/timbru31/cordova-plugin-android-device-information/commit/429bd13c50edea52c213532c3a5dff2347227882)) | ||
- **deps-dev:** bump typescript from 3.7.5 to 3.8.2 ([bc6b5c5](https://github.com/timbru31/cordova-plugin-android-device-information/commit/bc6b5c59135e6c2691c20d3afcdac6c492fde341)) | ||
- **deps-dev:** bump typescript from 3.8.2 to 3.8.3 ([689109b](https://github.com/timbru31/cordova-plugin-android-device-information/commit/689109b6e8634544ca910812fcc9a22a2c5a3005)) | ||
- adds GitHub action ([3ca53e9](https://github.com/timbru31/cordova-plugin-android-device-information/commit/3ca53e9033958dea4a12cdbec323db242c4f6a40)) | ||
- rebuild lockfiles, adds prettier and proper plugin.xml version bumping ([7953913](https://github.com/timbru31/cordova-plugin-android-device-information/commit/795391326a42d571980c9f5e3968b552d3692c36)) | ||
<a name="1.1.0"></a> | ||
# [1.1.0](https://github.com/timbru31/cordova-plugin-android-device-information/compare/v1.0.0...v1.1.0) (2019-01-26) | ||
<a name="1.1.1"></a> | ||
## [1.1.1](https://github.com/timbru31/cordova-plugin-android-device-information/compare/v1.1.0...v1.1.1) (2019-01-26) | ||
### Bug Fixes | ||
* getDisplay return value ([034dfd2](https://github.com/timbru31/cordova-plugin-android-device-information/commit/034dfd2)) | ||
- version number ([03a7be1](https://github.com/timbru31/cordova-plugin-android-device-information/commit/03a7be1)) | ||
<a name="1.1.0"></a> | ||
### Features | ||
# [1.1.0](https://github.com/timbru31/cordova-plugin-android-device-information/compare/v1.0.0...v1.1.0) (2019-01-26) | ||
* enable automatic Kotlin support, closes [#1](https://github.com/timbru31/cordova-plugin-android-device-information/issues/1) ([a0644ec](https://github.com/timbru31/cordova-plugin-android-device-information/commit/a0644ec)) | ||
### Bug Fixes | ||
- getDisplay return value ([034dfd2](https://github.com/timbru31/cordova-plugin-android-device-information/commit/034dfd2)) | ||
### Features | ||
- enable automatic Kotlin support, closes [#1](https://github.com/timbru31/cordova-plugin-android-device-information/issues/1) ([a0644ec](https://github.com/timbru31/cordova-plugin-android-device-information/commit/a0644ec)) | ||
<a name="1.0.0"></a> | ||
# 1.0.0 (2018-09-09) | ||
### Features | ||
* initial commit ([51137cf](https://github.com/timbru31/cordova-plugin-android-device-information/commit/51137cf)) | ||
- initial commit ([51137cf](https://github.com/timbru31/cordova-plugin-android-device-information/commit/51137cf)) |
@@ -1,8 +0,15 @@ | ||
#!/usr/bin/env nod | ||
#!/usr/bin/env node | ||
var fs = require('fs'); | ||
var pluginLocation = 'plugins/cordova-plugin-android-device-information/hooks'; | ||
var pluginLocation = 'plugins/android-device-information/hooks'; | ||
fs.appendFileSync('platforms/android/build.gradle', fs.readFileSync(`${pluginLocation}/android-build-extras.gradle`)); | ||
fs.appendFileSync('platforms/android/app/build-extras.gradle', fs.readFileSync(`${pluginLocation}/app-build-extras.gradle`)); | ||
var buildGradle = fs.readFileSync(`platforms/android/build.gradle`); | ||
if (buildGradle.indexOf('classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"') === -1) { | ||
fs.appendFileSync('platforms/android/build.gradle', fs.readFileSync(`${pluginLocation}/android-build-extras.gradle`)); | ||
} | ||
var buildExtrasGradle = fs.existsSync(`platforms/android/app/build-extras.gradle`); | ||
if (!buildExtrasGradle || fs.readFileSync(`platforms/android/app/build-extras.gradle`).indexOf("apply plugin: 'kotlin-android'") === -1) { | ||
fs.appendFileSync('platforms/android/app/build-extras.gradle', fs.readFileSync(`${pluginLocation}/app-build-extras.gradle`)); | ||
} |
{ | ||
"name": "cordova-plugin-android-device-information", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "Cordova plugin to get specific Android device information", | ||
@@ -19,5 +19,7 @@ "author": "Tim Brust <github@timbrust.de>", | ||
"@types/cordova": "^0.0.34", | ||
"standard-version": "^4.4.0", | ||
"tslint": "^5.12.1", | ||
"typescript": "^3.2.4" | ||
"prettier": "^2.0.2", | ||
"replace": "^1.1.5", | ||
"standard-version": "^7.1.0", | ||
"tslint": "^6.1.1", | ||
"typescript": "^3.8.3" | ||
}, | ||
@@ -46,3 +48,4 @@ "cordova": { | ||
"device" | ||
] | ||
], | ||
"funding": "https://github.com/sponsors/timbru31" | ||
} |
# cordova-plugin-android-device-information | ||
[](https://travis-ci.org/timbru31/cordova-plugin-android-device-information) | ||
@@ -8,3 +9,3 @@ | ||
[](http://commitizen.github.io/cz-cli/) | ||
[](https://commitizen.github.io/cz-cli/) | ||
[](https://dependabot.com) | ||
@@ -18,3 +19,3 @@ [](LICENSE) | ||
* **Android** | ||
- **Android** | ||
@@ -24,5 +25,7 @@ ### 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` | ||
@@ -32,18 +35,18 @@ | ||
#### Get one of the following properties (replace _\_X\__) | ||
#### Get one of the following properties (replace \_\_X\_\_) | ||
* getProduct | ||
* getOSVersion | ||
* getRelease | ||
* getSecurityPatch | ||
* getModel | ||
* getDevice | ||
* getSDK (return a number) | ||
* getManufacturer | ||
* getBoard | ||
* getType | ||
* getDisplay | ||
* getHardware | ||
* getHost | ||
* getBrand | ||
- getProduct | ||
- getOSVersion | ||
- getRelease | ||
- getSecurityPatch | ||
- getModel | ||
- getDevice | ||
- getSDK (returns a number) | ||
- getManufacturer | ||
- getBoard | ||
- getType | ||
- getDisplay | ||
- getHardware | ||
- getHost | ||
- getBrand | ||
@@ -55,3 +58,5 @@ ```js | ||
``` | ||
--- | ||
Built by (c) Tim Brust and contributors. Released under the MIT license. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
58
28760
6
12
163