SAP Mobile Platform SDK includes the Kapsel SDK,
a set of SAP plugins for the open-source Apache Cordova framework.
Cordova provides a flexible, open framework featuring a single common API that
allows you to develop hybrid applications across multiple device platforms.
Cordova's open architecture includes a node-based command line interface that lets
you manage a single project that works across multiple device platforms. By adding
Kapsel plugins to a Cordova application, the application gains several enterprise
application features as well as an awareness of SAP Mobile Platform Server.
Kapsel extends the Cordova container through a standard plugin interface defined by
the Cordova development team.
Kapsel consists of the following plug-ins:
- AppUpdate – provides server-based updates to the
Web application content running in the Kapsel application. This plug-in
replicates some of the life cycle management capabilities provided by the
Hybrid Web Container in earlier versions of SAP Mobile Platform.
- AuthProxy – HTTP and HTTPS requests on behalf
of the Kapsel application. This plugin automates the process of accepting
SSL certificates returned by a call to a Web resource (without user
involvement).
- Logging – adds a SAP Mobile Platform logging API to a Cordova application. Log
level can be set by the application or controlled remotely by the
administrator and the log can be uploaded to
SAP Mobile Platform Server for problem analysis.
- Logon – implements the
SAP Mobile Platform Mobile Application Framework Logon
Manager component in a Cordova application. This plug-in provides a
skinnable UI for an application's login form, and manages the complete
process of logging in to SAP Mobile Platform Server.
- Push – adds SAP Mobile Platform
server-based push notifications. This plug-in allows a Kapsel application to
register for push notifications, process push notifications, and update the
local application UI to indicate that push notifications have been
received.
- EncryptedStorage – implements a non-blocking,
encrypted storage API which mimics the W3C Web storage API.
- Settings – simplifies the process for a Cordova
application to exchange connection-related settings with SAP Mobile Platform Server. This plugin is used by the
AppUpdate and Push plugins.
Documented in: Developer > Kapsel Development.