[
https://issues.apache.org/jira/browse/CB-5121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
jcesarmobile closed CB-5121.
----------------------------
Resolution: Won't Do
closing as won't do
the plugin now just returns the same value as cordova.version, users could use
that if they want, but let's not do a breaking change
> deprecate device.cordova in favor of cordova.version
> ----------------------------------------------------
>
> Key: CB-5121
> URL: https://issues.apache.org/jira/browse/CB-5121
> Project: Apache Cordova
> Issue Type: Improvement
> Components: cordova-plugin-device
> Affects Versions: 3.0.0
> Reporter: Marcel Kinard
> Priority: Minor
>
> Per CB-5085 it was originally getting device.cordova from the native code in
> the device plugin. When fixing CB-5085 that was moved into the js for the
> device plugin (which is an improvement). This could be improved further to
> deprecate device.cordova entirely and replace it with the already-existing
> cordova.version. The benefit is that the device plugin would not be required
> for fetching the Cordova version, which really is a platform version and not
> a plugin version.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]