Details
-
New Feature
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
3.0.0
-
None
Description
The engine tag is now able to check any of Cordova components's version so it's time to implement the OS/SDK version scripts. This will allow plugin authors to specify what version of OS/SDK is needed using the <engine> tag in the plugin.xml.
eg,
<engines>
<engine name="apple-xcode" version=">=4.6.3"/>
<engine name="apple-ios-sdk" version=">=6.1"/>
<engine name="android-sdk" version=">=17"/>
</engines>
These scripts will be listed in the default engines within Plugman so that a user may easily reference them in the engine tag without having to provide a location/platform attribute in the engine tag:
https://git-wip-us.apache.org/repos/asf?p=cordova-plugman.git;a=blob;f=src/util/default-engines.js;h=4fd4a657b9cf6b494fece8b914c7c1ea511e3ca6;hb=1fa97a4161410f411e115362c293d88180319d9d
Related to this ticket: https://issues.apache.org/jira/browse/CB-4036