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

Remove check_requirements from cordova-lib

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • cordova-cli
    • None

    Description

      As per this discussion [1] check_requirements() functions in platform parsers are redundant. The same check is executed twice, once via cordova create call_into_create() -> platform_parser ...
      and then again from the platform create script.

      Removing
      1) The call to check_requriements() from create.js:call_into_create().
      2) The check_requirements() functions from platform parsers in metadata.

      Adding:
      A simple check that the host OS is listed in platforms[platform].hostos

      [1] https://www.mail-archive.com/dev%40cordova.apache.org/msg19084.html

      Attachments

        Activity

          People

            kamrik Mark Koudritsky
            kamrik Mark Koudritsky
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: