You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Ryan Fiorini (JIRA)" <ji...@apache.org> on 2016/02/10 17:34:18 UTC

[jira] [Created] (CB-10586) Cordova Platform Add Windows fires after_prepare hook before plugins are added

Ryan Fiorini created CB-10586:
---------------------------------

             Summary: Cordova Platform Add Windows fires after_prepare hook before plugins are added
                 Key: CB-10586
                 URL: https://issues.apache.org/jira/browse/CB-10586
             Project: Apache Cordova
          Issue Type: Bug
          Components: Windows
    Affects Versions: 4.3.0
            Reporter: Ryan Fiorini


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org