To upgrade to the latest version of the Swrve Cordova SDK plugin, replace the
cordova-plugin-swrve folder in your project with the one found in latest release on GitHub. Or use the following command:
cordova plugin add cordova-plugin-swrve
When you add the updated folder, we recommend using the Cordova
platform remove and
platform add commands to ensure all changes are fully moved over.
There are no code changes required to upgrade to Swrve Cordova SDK plugin v2.0.1.
This section provides information for upgrading to Swrve Cordova SDK plugin v2.0.
To use Swrve’s geo-triggered campaigns, you must integrate the Geo SDK plugin. For more information, see the Swrve Geo SDK Guide.
Facebook ad-triggered campaigns
Use ad-triggered campaigns to customize your Facebook ad journey and user onboarding experience when a user installs your app from a Facebook ad. For more information on how to integrate them into your Cordova app, see the Facebook ad-triggered campaigns guide.
There are no code changes required to upgrade to Swrve Cordova SDK plugin v1.1.1.
This section provides information for upgrading to Swrve Cordova SDK plugin v1.1.
To set a custom user ID, use the new Identify API call. For more information, see the Cordova integration guide.
If you want to use the user identity authenticated push feature, ensure you configure your app to use silent notifications. For information on how to configure silent notifications, see the Cordova integration guide.