Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to see all plugins installed in Phonegap/Cordova project?

I need to see the list of all installed Cordova plugins.

Does somebody know how to do this?

like image 812
Kir Mazur Avatar asked Jan 04 '15 16:01

Kir Mazur


People also ask

How do I test cordova plugins?

If cordova plugin add cordova-plugin-foo@1 was used to install the plugin, then cordova-check-plugins will return the highest remote version as 1.1. 0. If cordova plugin add [email protected] was used to install the plugin, then cordova-check-plugins will return the highest remote version as 1.0. 2.

Which of the following command is used to add plugin in cordova app?

Add Plugin Features The cordova plugin add command requires you to specify the repository for the plugin code. Please note that when you follow the Web Project Dev workflow and use the CLI, the CLI will take care of adding the plugin code to the appropriate place for each platform.

How plugins are used in Apache Cordova?

A plugin is a package of injected code that allows the Cordova webview within which the app renders to communicate with the native platform on which it runs. Plugins provide access to device and platform functionality that is ordinarily unavailable to web-based apps.

How do I uninstall cordova plugins?

Removing plugins 'cordova plugin remove cordova-plugin-console' => Removes the console plugin from the project and deletes its entry from config. xml and package. json.


2 Answers

Just type

cordova plugin ls 

or

cordova plugin list 

on command line in your project's root folder where you would normally install or remove your plugins, or build or run it.

like image 195
Roope Hakulinen Avatar answered Sep 22 '22 20:09

Roope Hakulinen


The newer versions of Cordova also support the following:

cordova plugin 

or

cordova plugins 
like image 32
SMR Avatar answered Sep 21 '22 20:09

SMR