You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2021/03/30 15:17:39 UTC

[GitHub] [cordova-cli] breautek commented on issue #552: Install plugin only in a specific platform (defined in package.json)

breautek commented on issue #552:
URL: https://github.com/apache/cordova-cli/issues/552#issuecomment-810347271


   I'm not really sure what is involved... not exactly experienced with that of the Cordova codebase... but I think the hook idea is definitely worth a try.
   
   Perhaps the `before_plugin_install` hook can be utilised for this and maybe you can modify the `plugin.xml` before Cordova consumes it to install it to the platforms. Hacky... but may work as a workaround.
   
   https://cordova.apache.org/docs/en/10.x/guide/appdev/hooks/index.html
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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