Search code examples
cordovacordova-plugins

Updating installed plugins when upgrading Cordova


I've upgraded my Cordova project (to 3.4.0).

There's simple instructions on upgrading the Cordova framework, but I cannot find documentation on bringing plugins to their latest versions (especially the cordova-* set of plugins).

Do each of them need to be individually rm'ed and add'ed again, or is there a better way?

Thanks.


Solution

  • According to this recent post on the Apache Cordova website the way to update a plugin is by removing and then re-adding it, e.g.:

    cordova plugin rm org.apache.cordova.file

    cordova plugin add org.apache.cordova.file

    No mention of a way 'update' all installed plugins at once though.