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

Version specifier causes platform add hook to not run

    Details

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

      OSX 10.10

      Description

      Using cordova 4.2.0, I have a hook in config.xml defined like this:

      <platform name="ios">
      <hook type="after_platform_add" src="build/script.rb" />
      </platform>

      Running 'cordova platform add ios' causes this script to be run, but 'cordova platform add ios@3.6.3' does not. If this is intended behavior, how can I set up the hook to run on any platform add of ios?

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              cjpearson Connor Pearson
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: