Kapsel Plugins

Developers use one or more Kapsel plugins in Cordova applications to add SAP Mobile Platform awareness and capabilities to the application. The plugins that you use vary depending on your application’s requirements. As they are standard Cordova plugins, manage Kapsel plugins in a Cordova project using the standard Cordova CLI plugin commands.

Kapsel Plugin Use
AppUpdate (Required) As the Kapsel lifecycle management plugin, AppUpdate manages application update downloads and installs updates to the Kapsel application. The AppUpdate plugin initiates the check for an update when the application starts, and when it resumes after being suspended. You can also start an app update manually, if required.

AppUpdate requires the Logon plugin; the two plugins are installed together.

Logon

Manages user onboarding and the authentication process for SAP Mobile Platform applications. Most other Kapsel plugins use capabilities that this plugin exposes. The plugin interfaces with the SAP Afaria® client as well as the Client Hub application to help manage authentication and single sign-on.

You can install this plugin standalone, or it is automatically installed with AppUpdate.

AuthProxy Provides capabilities that are used in certain security scenarios such as mutual authentication and in SiteMinder environments.
Logger Lets you have an application write entries to a local log, which can be uploaded to the SAP Mobile Platform Server for analysis. The SAP Mobile Platform administrator can manage setting the application log remotely from the server and upload device logs to the server without user intervention.
Push Manages the process of registering for push requests as well as exposes events that help you code an application to respond to push notifications. Once the push registration is completed, the plugin uses the Settings plugin to exchange application settings information with SAP Mobile Platform Server so it knows how to manage delivery of push notifications to the application.
EncryptedStorage Adds an encrypted persistent store (key/value pair) to a Cordova application, which allows you to build an application that securely stores application data while offline, or while the application is not running. Unlike the built-in local storage, EncryptedStorage is nonblocking.
Settings Required if you are using the Push plugin. Manages the exchange of settings information between the Kapsel app and the SAP Mobile Platform server. Used by the Push plugin.