Sounds like the ouput of this "how it works" should go in cordova-docs. If it's not clear to us, then it won't be clear to users. ;-)
On Jan 13, 2014, at 9:36 PM, Andrew Grieve <agri...@chromium.org> wrote: > On Mon, Jan 13, 2014 at 6:14 PM, Gorkem Ercan <gorkem.er...@gmail.com> wrote: >> On Mon, Jan 13, 2014 at 04:32:20PM -0500, Andrew Grieve wrote: >>> FYI to others - the docs for this is found here (seems to have some >>> incorrectly formatted markdown too :( ) : >>> http://cordova.apache.org/docs/en/3.3.0/plugin_ref_spec.md.html#Plugin%20Specification >>> >>> My understanding was that: >>> <engine name="cordova-android" version=">=1.8.0" /> >>> is the same as: >>> <engine name="cordova-android" version=">=1.8.0" platform="android" /> >>> not: >>> <engine name="cordova" version=">=1.8.0" platform="android" /> >> >> What is actually different here? I know the implementation assumes all >> platforms when it sees cordova but it does not have to, it could just >> look take platform attribute into account. I am just >> trying to understand the reasons for the cordova-${platform} engine >> names. > > The difference is name="cordova-android" vs name="cordova". > > Not positive, but I think: > cordova-android refers to the version of the cordova-android repo that > you're using. > cordova refers to the cadence version of cordova that you're using > (version of CLI tools or version of cordova-js)