You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/02/22 07:12:44 UTC
[jira] [Commented] (CB-12199) Add Android SDK version (API level)
to Device properties
[ https://issues.apache.org/jira/browse/CB-12199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15877631#comment-15877631 ]
ASF GitHub Bot commented on CB-12199:
-------------------------------------
Github user stevengill commented on the issue:
https://github.com/apache/cordova-plugin-device/pull/58
hey @yamane-dsys!
Your PR is in great shape. I appreciate you adding tests too!
Unfortunately, I don't think I can accept this PR. We only add new properties to device if it can be implemented across all of our platforms.
I'm curious what your use-case for this is?
You should think about creating a plugin for this specific use-case yourself.
> 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.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org