Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
If I use the following engine tag inside some of my plugins
<engine name="cordova" version=">=4.3.0" />
I see that the tools compares version w/ platforms versions when installing plugins, not the tools version.
This is due to the following implementation. We should update implementation similar to cordova-plugman and threat cordova version as tools version not platforms.
module.exports = function(project_dir){ return { 'cordova': { 'platform':'*', 'scriptSrc': path.join(project_dir,'cordova','version') }, 'cordova-plugman': { 'platform':'*', 'currentVersion': require('../../../package.json').version }, 'cordova-android': { 'platform':'android', 'scriptSrc': path.join(project_dir,'cordova','version') },