メインコンテンツまでスキップ
Version: v6

ionic cordova plugin

Manage Cordova plugins

$ ionic cordova plugin [options]

Like running cordova plugin directly, but provides friendly checks.

Examples

$ ionic cordova plugin 
$ ionic cordova plugin add cordova-plugin-inappbrowser@latest
$ ionic cordova plugin add phonegap-plugin-push --variable SENDER_ID=XXXXX
$ ionic cordova plugin rm cordova-plugin-camera

Inputs

action

Description

add or remove a plugin; ls or save all project plugins

plugin

Description

The name of the plugin (corresponds to add and remove)

Options

--variable =<KEY=VALUE>

Description

Specify plugin variables

Advanced Options

--force

Description

Force overwrite the plugin if it exists (corresponds to add)