Last modified October 24, 2023 by Shelly Wolfe

Cordova SDK release notes

Swrve has an open source SDK repository. There are two options for downloading the latest public Cordova SDK plugin:

  • Install the plugin from NPM using the following command:
    cordova plugin add cordova-plugin-swrve
  • Download the plugin from the GitHub public repository or clone the repository.

For upgrade instructions, see the Cordova SDK upgrade guide.

Updating native SDK dependencies

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.

To reduce the need to release a new version of the Cordova SDK Plugin for every native Swrve SDK release, we’ve updated the Plugin to automatically use the latest minor version of its native Swrve SDK dependency (for example, iOS 8.X.X). It does not automatically include support for major version upgrades. For information on the latest SDK dependency, see iOS SDK release notes and Android SDK release notes.

Release 6.0.1

Release date: February 7, 2024

iOS SDK: 8.11.X – January 29, 2024
Android SDK: 10.13.X – January 29, 2024

Features

  • Updated our third-party dependencies to mitigate potential security vulnerabilities.

Release 6.0.0

Release date: October 24, 2023

iOS SDK: 8.8.X – July 26, 2023
Android SDK: 10.11.X – June 27, 2023

Features

  • Updated the minimum support for Cordova CLI to 12.0.0.
  • Updated the minimum support for cordova-android to 12.0.1.
  • Updated the minimum support for cordova-ios to 7.0.1.
  • Updated the Android native Swrve dependency to 10.11.2.
  • Updated the iOS native Swrve dependency to 8.8.1.
  • Added the swrve.pushNotificationPermissionEvent to the config.xml for Android. This enables the configuration of a specific event that triggers a notification permission prompt on Android 13 when added to the event queue.

Release 5.0.0

Release date: March 1, 2023

iOS SDK: 7.5.X – May 10, 2022
Android SDK: 9.4.X – May 12, 2022

Features

  • Updated the minimum support for cordova-android to 11.0.0.
  • Updated the Android native Swrve dependency to 9.4.0.
  • Updated the iOS native Swrve framework to 7.5.2.
  • Added support for Android 12. The minimum Android SDK compile version is now 31.

Fixes

  • Fixed an issue that prevented the push notification hook from correctly integrating Firebase push if the swrve.handlingGoogleServices preference was set to any value.

Release 4.0.0

Release date: June 7, 2022

iOS SDK: 7.2.X – October 21, 2021
Android SDK: 8.0.X – July 29, 2021

Features

  • Updated the minimum support for Cordova CLI to 11.0.0.
  • Updated the Android native Swrve dependency to 8.0.0.
  • Updated the iOS native Swrve framework to 7.2.1.
  • Added support for embedded campaigns and the personalization of embedded campaigns.
  • Removed iOS frameworks and framework hooks. SwrveSDK now uses cocoapods to include native iOS dependencies.

Fixes

  • Removed evalJS calls from the iOS SwrvePlugin due to a known issue that can cause crashes with the Cordova plugin version 6+.

Release 3.3.0

Release date: March 4, 2021

iOS SDK: 6.8.0 – December 14, 2020

Features

  • Updated the Android native Swrve dependency to use Maven Central instead of Bintray.
  • Updated the iOS native Swrve framework to 6.8.1.

Release 3.2.2

Release date: February 16, 2021

Fixes

  • If swrve.handlingGoogleServices is enabled, SwrveFirebaseMessagingService is no longer included in the AndroidManifest.xml by default.

Previous releases summary

 

Date Version Features and Fixes
November 4, 2020 3.2.1 Updated the Android native Swrve dependency to 7.3.2.
October 27, 2020 3.2.0 Updated tracking of device OS and type for platform-specific delivery of in-app messages, added an additional configuration option to Android which disables google-service modifications being done by Swrve, updated the iOS native Swrve framework to 6.7.0, and updated the Android native Swrve dependency to 7.3.1.
September 8, 2020 3.1.0 Updated the iOS native Swrve framework to 6.6.0 and updated the Android native Swrve dependency to 7.2.1.
May 22, 2020 3.0.0 Swrve now automatically tracks and logs when push notifications are delivered and displayed on each device, updated the iOS native Swrve framework to 6.5.0, updated the Android native Swrve dependency to 7.1.0, and migrated from android-support to AndroidX.
January 23, 2020 2.1.0 Added configuration options for delaying the start of the SDK and setting a custom user ID for tracking purposes. Fixed an issue with Android platform generation where duplicates of the same configuration would appear in the finished Application.java.
October 7, 2019 2.0.1 Updated the iOS and Android native Swrve framework to 6.3.0. Fixed an issue where the dynamic iOS Frameworks added to the plugin were not stripping their simulator architectures on release build.
September 19, 2019 2.0.0 Added support for geo-triggered campaigns, added an API for handling deeplinks to show customized campaigns immediately after a user clicks an ad message, added support for iOS 12 Provisional Authorization for push notifications, added support for rewards in in-app purchases and unified the functions across both platforms, added a new method for returning the current external user ID, added config.xml preference to remove an iOS push notification badge on application startup, updated the iOS and Android native Swrve framework to 6.2.1, removed support for the Android iapPlay method. Use the platform-agnostic unvalidated IAP method instead, and added support for NPM. Various bug fixes.
August 12, 2019 1.1.1 Bug fixes.
July 29, 2019 1.1.0 Added an API for handling User Identity. Also added support for background (silent) notifications.
July 1, 2019 1.0.0 First public release.