I am a newbie in phonegap development so I have a couple of questions:
1) I am using the accelerometer plug-in. I read in the manual that i need to declare the plugi
Since Cordova 5.0, yes.
...
...
xml>
Mass saving plugins on an existing project :
$ cordova plugin save
On a fresh install (or after a clean), you can add all plugins with :
$ cordova prepare
Adding / updating / removing can also be done via cli :
$ cordova plugin add ] | directory | git_url> --save
$ cordova plugin update ] | directory | git_url> --save
$ cordova plugin remove --save
There is no mass update for the moment. You can remove plugins
directory then run a $cordova prepare
.
Sources :