Show TOC

Removing Hybrid SDK (Kapsel) PluginsLocate this document in the navigation structure

Remove Hybrid SDK (Kapsel) plugins from the application.

Context

To remove a plugin, refer to it by the same identifier that appears in the Cordova plugin listing. These steps show an example of how you would remove the logger plugin.

Note

Due to a known Apache issue, plugin remove does not currently work properly with Hybrid SDK (Kapsel) plugins. See https://issues.apache.org/jira/browse/CB-6140Information published on non-SAP site.  Shared dependencies with other plugins may also be removed, leaving the application in a bad state. Instead of removing plugins, SAP recommends that you start from a clean state and add only the plugins you require.

Procedure

  1. Open a command prompt window and navigate to the Cordova project's directory.
  2. (Optional) To see a list of installed plugins, enter:
    cordova plugins
  3. Enter:
    cordova plugin remove <plugin_name>    
    For example, to remove the Logger plugin, enter:

    cordova plugin remove com.sap.mp.cordova.plugins.logger