jfoclpf opened a new issue #552:
URL: https://github.com/apache/cordova-cli/issues/552


   # Feature Request
   
   ## Motivation Behind Feature
   <!-- Why should this feature be implemented? What problem does it solve? -->
   
   Many plugins do work only in a specific platform and crash in other 
platforms during build. Furthermore many plugins are specifically designed to a 
specific platform only, but their creators did not take that into account. 
There's also a popular request for this in Stackoverflow.
   
   ## Feature Description
   <!-- 
   Describe your feature request in detail
   Please provide any code examples or screenshots of what this feature would 
look like
   Are there any drawbacks? Will this break anything for existing users? 
   -->
   
   It would be very advantageous to have in `package.json` some sort of way to 
inform that we just want a specific plugin installed only in a specific 
platform, and not in all platforms.
   
   ## Alternatives or Workarounds
   <!-- 
   Describe alternatives or workarounds you are currently using 
   Are there ways to do this with existing functionality?
   -->
   
   We can use plugman but it's not reliable nor there is a way to tell other 
people that we want a certain plugin installed only on a specific platform. I 
suppose we can also use a hook, but I was wondering before which event should 
we consider to process. We can also have git branches with different versions 
of `package.json` for different platforms. 
   
   The best way would be undoubtedly to have that information directly stored 
in `package.json`.
   


-- 
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:
[email protected]



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

Reply via email to