Closed biesbjerg closed 7 years ago
TL;DR: Without this tool taking over versioning from the Cordova CLI, it's not possible to save the exact version without the ~
.
The saving of plugin versions is actually being undertaken by the Cordova (or Phonegap) CLI - if the --save
argument is present, this tool forwards it onto the Cordova CLI command.
So cordova-check-plugins --update=cordova-plugin-device --save
is the same as doing cordova plugin rm cordova-plugin-device && cordova add cordova-plugin-device --save
.
Therefore the ~
added to the version number is done by the Cordova CLI. This was changed from '^' some time ago (see here).
They now support this tag - is there a way to include it in the plugin?
When updating plugins, plugin version in config.xml is always set to ~VERSION.
Is it possible to save exact version?