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

<engine> version check should check against plugman version

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: cordova-plugman
    • Labels:
      None

      Description

      Currently, we have:
      <engine name="cordova" version=">=1.7.0" />

      This checks against the result of platform/bin/version scripts. However, it's quite possible to have a plugin that works with cordova-android >=3.0 and cordova-ios >=3.1

      CB-4036 introduces per-platform SDK & OS version checks.

      This issue covers have cordova versions be per-platform, as well as having plugman version requirement.

      <engines>
      <engine name="cordova-plugman" version=">=3.0.0" />
      <engine name="cordova-android" version=">=3.0.0" />
      <engine name="cordova-ios" version=">=3.1.0" />
      </engines>

      We could still maintain:
      <engines>
      <engine name="cordova" version=">=3.1.0" />
      </engines>

      as a shorthand for:
      <engines>
      <engine name="cordova-plugman" version=">=3.1.0" />
      <engine name="cordova-android" version=">=3.1.0" />
      <engine name="cordova-ios" version=">=3.1.0" />
      </engines>

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                timkim Tim Kim
                Reporter:
                agrieve Andrew Grieve
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: