Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-4872

Create os/sdk version scripts for engine tag

    XMLWordPrintableJSON

Details

    Description

      The engine tag is now able to check any of Cordova components's version so it's time to implement the OS/SDK version scripts. This will allow plugin authors to specify what version of OS/SDK is needed using the <engine> tag in the plugin.xml.

      eg,
      <engines>
      <engine name="apple-xcode" version=">=4.6.3"/>
      <engine name="apple-ios-sdk" version=">=6.1"/>
      <engine name="android-sdk" version=">=17"/>
      </engines>

      These scripts will be listed in the default engines within Plugman so that a user may easily reference them in the engine tag without having to provide a location/platform attribute in the engine tag:
      https://git-wip-us.apache.org/repos/asf?p=cordova-plugman.git;a=blob;f=src/util/default-engines.js;h=4fd4a657b9cf6b494fece8b914c7c1ea511e3ca6;hb=1fa97a4161410f411e115362c293d88180319d9d

      Related to this ticket: https://issues.apache.org/jira/browse/CB-4036

      Attachments

        Activity

          People

            timkim Tim Kim
            timkim Tim Kim
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: