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

Version specifier causes platform add hook to not run

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • cordova-lib
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: