Using Plugman to Manage Plugins

Using Plugman to Manage Plugins

From version 3.0 onward, Cordova implements all device APIs as plugins, and leaves them disabled by default. It also supports two different ways to add and remove plugins, depending on your choice of workflow discussed in the Overview:

  • If you use a cross-platform workflow, you use the cordova CLI utility to add plugins, as described in The Command-Line Interface. The CLI modifies plugins for all specified platforms at once.

  • If you use a platform-centered workflow, you use a lower-level Plugman command-line interface, separately for each targeted platform.

This section details the Plugman utility. For more information on consuming Plugman as a node module