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

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

     [ https://issues.apache.org/jira/browse/CB-10586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vladimir Kotikov updated CB-10586:
----------------------------------
    Component/s:     (was: Windows)
                 CordovaLib

> 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: CordovaLib
>    Affects Versions: 4.3.0
>            Reporter: Ryan Fiorini
>            Assignee: Vladimir Kotikov
>
> 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