[ 
https://issues.apache.org/jira/browse/CB-12705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15991847#comment-15991847
 ] 

ASF subversion and git services commented on CB-12705:
------------------------------------------------------

Commit 95ba830800c3dab0ffb11e9f9630434ce2f99c4c in cordova-lib's branch 
refs/heads/common-2.0.x from feichngr
[ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=95ba830 ]

CB-12705: Modified (before|after)_plugin_(uninstall|install) to always expect 
existence of plugin field

 This closes #549


> Project *_plugin_install hooks don't have information on installed plugin
> -------------------------------------------------------------------------
>
>                 Key: CB-12705
>                 URL: https://issues.apache.org/jira/browse/CB-12705
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: cordova-cli, CordovaLib
>    Affects Versions: 6.5.0
>            Reporter: Fabian Eichinger
>
> I want to build a {{after_plugin_install}} javascript hook for my project 
> that only executes it logic when installing a specific plugin (in my case 
> {{cordova-plugin-file}}). As it turns out the context passed to project-level 
> {{\*_plugin_install}} hooks do not contain *any* information on the plugin 
> that was installed and this makes these kind of hooks basically useless.
> I propose passing to them the same information in {{context.opts.plugin}} as 
> to plugin hooks.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to