I want all my plugins to be specified in my cordova config.xml
Currently, I put <plugin name="cordova-plugin-dbcopy" spec="~1.0.3" /> in my config.xml.
However, this causes cordova to complain:
Discovered plugin "cordova-plugin-dbcopy" in config.xml. Installing to the project
Fetching plugin "cordova-plugin-dbcopy@~1.0.3" via npm
Plugin "me.rahul.plugins.sqlDB" already installed on android.
Plugin "me.rahul.plugins.sqlDB" already installed on ios.
I'm not sure, but I suspect if you change the plugin id it will allow this use case to work without having to check the npmjs plugin repository on each build.
I want all my plugins to be specified in my cordova
config.xml
Currently, I put<plugin name="cordova-plugin-dbcopy" spec="~1.0.3" />
in myconfig.xml
. However, this causes cordova to complain:I'm not sure, but I suspect if you change the plugin id it will allow this use case to work without having to check the npmjs plugin repository on each build.
Thanks for this plugin!