You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support Optional Android Dependencies For Plugin controlled via command line inputs
Motivation Behind Feature
This will allow us to develop cordova plugins that depend on multiple optional libraries. in android we can develop 2 separate libraries a & b , where a can check whether the user has included b library, and if so, can change its working accordingly.
Feature Description
in cordova, if i have defined the following preference in my plugin.xml:
to restrict user to use versions above 21.0.0 (which i think will be covered in next point)
to have 'optional' depenedencies . like if i take a boolean variable ADD_ANALYTICS_SDK as input during plugin installation, then i should be able to add an additional , optional framework, something like this :
Feature Request
Support Optional Android Dependencies For Plugin controlled via command line inputs
Motivation Behind Feature
This will allow us to develop cordova plugins that depend on multiple optional libraries. in android we can develop 2 separate libraries
a
&b
, wherea
can check whether the user has includedb
library, and if so, can change its working accordingly.Feature Description
in cordova, if i have defined the following preference in my plugin.xml:
then the users of my plugin can pass this variable while adding the plugin as :
furthermore, in my plugin.xml , i am able to use this version as :
what we need is
21.0.0
(which i think will be covered in next point)ADD_ANALYTICS_SDK
as input during plugin installation, then i should be able to add an additional , optional framework, something like this :is something like this possible for
plugin.xml
?The text was updated successfully, but these errors were encountered: