This plugin with automatically upgrade (re-install) a set of plugins (specified by you) before every cordova prepare. This is useful if you are doing plugin development and would like to automatically synchronize your app with any changes made to your plugin.
-
Install the plugin:
cordova plugin add org.apache.cordova.labs.pluginAutoUpgrade
-
At root of your app, create a
pluginAutoUpgrade.json
file, which looks like:
{
"PLUGIN_ID": "PLUGIN_INSTALL_PATH",
"PLUGIN_ID2": "PLUGIN_INSTALL_PATH"
}
- Should synchronize plugin changes made within
platforms/
orplugins/
back out to the plugin source.