according to the documentation at https://cordova.apache.org/docs/en/latest/platform_plugin_versioning_ref/#plugin-versioning plugins should install the version from either config.xml or package.json. However, the latest version is always installed instead.
How to reproduce:
Shows that version 4.0.0 is installed. Also config.xml and package.json both indicate that 4.0.0 is installed.
Now delete the 'platforms' and 'plugins' folder and run
Note how config.xml and package.json still indicate that 4.0.0 installed, however when running
perhaps I'm missing something, though my understanding is that when `cordova prepare` is run, all plugins and platforms will be installed with their version as listed in package.json and config.xml.
Installs the correct version again, but that kind of defeats the purpose of cordova prepare.