Cordova Plugin

Use the Cordova Plugin to implement the Salesforce Engagement SDK for Android and iOS applications built using the Apache Cordova framework.

First, make sure that you have the latest version of Apache Cordova. See Cordova Documentation: Installation.

Next, create and configure your Cordova app. See Cordova Documentation: Creating an App.

To install the Cordova plugin in your development environment, complete these steps.

  1. At the command line, run this command to add the plugin to your app.

  2. To configure the plugin, the config.xml file for your app.

  3. Configure the Engagement SDK in your app.

    For Android apps, see Configure the Cordova Plugin for Android Apps.

    For iOS apps, see Configure the Cordova Plugin for iOS Apps.