uninstall cordova plugin code example
Example 1: uninstall cordova plugin
cordova plugin remove <PLUGIN_NAME>
Example 2: how to uninstall all plugins in ionic app
// First, you should list your plugins:
cordova plugin list
// With this result, you can simply do:
cordova plugin remove <PLUGIN_NAME>
// For example:
cordova plugin remove org.apache.cordova.media
Hope it helps.