[
https://issues.apache.org/jira/browse/CB-12199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15707684#comment-15707684
]
ASF GitHub Bot commented on CB-12199:
-------------------------------------
GitHub user yamane-dsys opened a pull request:
https://github.com/apache/cordova-plugin-device/pull/58
CB-12199: (android) Add SDK version property for Android
<!--
Please make sure the checklist boxes are all checked before submitting the
PR. The checklist
is intended as a quick reference, for complete details please see our
Contributor Guidelines:
http://cordova.apache.org/contribute/contribute_guidelines.html
Thanks!
-->
### Platforms affected
Android
### What does this PR do?
Add device.sdkversion property.
### What testing has been done on this change?
Add AutoTest for sdkversion to 'tests/tests.js'
Done AutoTests and ManualTests with cordova-plugin-test-framework
### Checklist
- [x] [Reported an issue](http://cordova.apache.org/contribute/issues.html)
in the JIRA database
- [x] Commit message follows the format: "CB-3232: (android) Fix bug with
resolving file paths", where CB-xxxx is the JIRA ID & "android" is the platform
affected.
- [x] Added automated test coverage as appropriate for this change.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/yamane-dsys/cordova-plugin-device master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-plugin-device/pull/58.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #58
----
commit ab595695e57bd9a8bde8132f5d210424f3439c8c
Author: YAMANE Takaaki <[email protected]>
Date: 2016-11-24T09:49:55Z
Use SDK_INT value for Android sdkversion, instead of SDK
(which was deprecated in API level 4)
commit 3634cad8a3ee60c91d76e48a1ef5cd4732cbd8d0
Author: YAMANE Takaaki <[email protected]>
Date: 2016-11-24T09:54:08Z
Add property device.sdkversion (Android)
commit ef9d50ef50ba7e26a40c93a5fe0a78287b6bae11
Author: YAMANE Takaaki <[email protected]>
Date: 2016-11-30T05:10:44Z
Add AutoTest for "sdkversion"
----
> Add Android SDK version (API level) to Device properties
> --------------------------------------------------------
>
> Key: CB-12199
> URL: https://issues.apache.org/jira/browse/CB-12199
> Project: Apache Cordova
> Issue Type: New Feature
> Components: Plugin Device
> Reporter: YAMANE dsys
> Priority: Minor
> Labels: android
>
> Add property `device.sdkversion` to cordova-plugin-device
> use android.os.Build.VERSION.SDK_INT
> https://developer.android.com/reference/android/os/Build.VERSION.html#SDK_INT
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]