Ionic : How to get list of all plugins installed

How to get list of all plugins installed for Ionic App


You can get a list of all plugins that you have installed on for your ionic app by the following command


  cordova plugin list

Make sure you are in your app directory.

Output of the above command will result as follows.

cordova-plugin-admob 2.2.0 "AdMob"
cordova-plugin-admobpro 2.18.0 "AdMob Plugin Pro"
cordova-plugin-device 1.1.2 "Device"
cordova-plugin-extension 1.5.1 "Cordova Plugin Extension"
cordova-plugin-google-analytics 0.8.1 "Google Universal Analytics Plugin"
cordova-plugin-splashscreen 3.2.2 "Splashscreen"
cordova-plugin-statusbar 2.1.3 "StatusBar"
cordova-plugin-whitelist 1.2.3-dev "Whitelist"
cordova-plugin-x-socialsharing 5.1.2 "SocialSharing"
cordova-plugin-x-toast 2.5.2 "Toast"
cordova-sqlite-storage 1.4.2 "Cordova sqlite storage plugin"
ionic-plugin-keyboard 2.2.0 "Keyboard"

Also you can view the file android.json inside the folder path-to-app/plugins/ and you will find all the plugins configured by ionic.

{
    "prepare_queue": {
        "installed": [],
        "uninstalled": []
    },
    "config_munge": {
        "files": {}
    },
    "installed_plugins": {
        "cordova-plugin-device": {
            "PACKAGE_NAME": "com.ekiras.demo"
        },
        "cordova-plugin-statusbar": {
            "PACKAGE_NAME": "com.ekiras.demo"
        },
        "cordova-plugin-whitelist": {
            "PACKAGE_NAME": "com.ekiras.demo"
        }
    },
    "dependent_plugins": {
        "cordova-plugin-extension": {
            "PACKAGE_NAME": "com.ekiras.demo"
        }
    }
}

Note :
You can remove the plugins by using command

cordova plugin remove <plugin-name> 
You can add the plugins by using command

cordova plugin add <plugin-name> 

No comments:

Powered by Blogger.