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

platform check should install each platform to determine if they're functional and their version number

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.5.0
    • Fix Version/s: None
    • Component/s: cordova-cli
    • Labels:
      None

      Description

      Currently `cordova platform check` has a few behaviors which are not necessarily ideal:

      1. It relies on the platforms.js file to have valid versions which match what is actually in the cached ~/.cordova/lib space.
      2. If a platform is installed for which there's a newer version which won't install (e.g. you're on Windows and you have iOS installed), it could tell you that there's an upgrade available, however, you won't be able to install it.

      We'd like to fix these limitations by having platform check actually run the version script against a live project. This should mean that there will not be any false positives: what you see is what you really could get.

        Attachments

          Activity

            People

            • Assignee:
              jsoref Josh Soref
              Reporter:
              jsoref Josh Soref
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: