an-rahulpandey / cordova-plugin-dbcopy

Copy SQLite Database from www folder to default app database location
Apache License 2.0
89 stars 48 forks source link

Change cordova plugin id to cordova-plugin-dbcopy #26

Closed newjam closed 8 years ago

newjam commented 8 years ago

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.

Thanks for this plugin!