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

Cordova Platform Add Windows fires after_prepare hook before plugins are added

    XMLWordPrintableJSON

Details

    Description

      I have an after_prepare hook that makes changes to a plugin for windows only and when I do a cordova platform add windows it fails because the prepare hook tries to find the plugin and it isn't there. When I put a try catch around it the prepare succeeds and then I see the plugin add messages.

      This seems like a wrong order of processing when adding the platform. It seems like the plugins should be added first then the prepare hook.

      Attachments

        Issue Links

          Activity

            People

              vladimir.kotikov Vladimir Kotikov
              RyanFiorini Ryan Fiorini
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: