cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Kinard (JIRA)" <>
Subject [jira] [Created] (CB-5121) deprecate device.cordova in favor of cordova.version
Date Thu, 17 Oct 2013 19:10:44 GMT
Marcel Kinard created CB-5121:

             Summary: deprecate device.cordova in favor of cordova.version
                 Key: CB-5121
             Project: Apache Cordova
          Issue Type: Improvement
          Components: 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

View raw message