Last modified September 18, 2024 by Shelly Wolfe

React Native SDK release notes

Swrve has an open source SDK repository. There are two options for downloading the latest public Swrve React Native SDK Plugin:

  • Install the plugin from NPM using the following command:
    npm install react-native-swrve-plugin --save
  • Download the plugin from the GitHub public repository or clone the repository.

For upgrade instructions, see the React Native SDK upgrade guide.

Updating native SDK dependencies

When you add the updated folder to your project, we recommend clearing your node_modules folder and perform an npm install to ensure you have the latest SDK dependency changes. Also, if you’re using iOS, ensure you run pod update in the ios folder.

To reduce the need to release a new version of the React Native 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 10.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.0

Release date:  October 30, 2024

iOS SDK: 10.0.0 – October 15, 2024
Android SDK: 11.0.0 – October 16, 2024

Features:

  • Updated the iOS native Swrve dependency to automatically use the latest minor version of release 10.X.X. For more information on the supported features and fixes, see the iOS SDK release notes.
  • Updated the Android native Swrve dependency to automatically use the latest minor version of release 11.X.X. For more information on the supported features and fixes, see the Android SDK release notes.
  • Updated the Geo SDK Plugin to use react native 0.73.4

Release 5.1.0

Release date:  September 11, 2024

iOS SDK: 9.1.X – August 28, 2024
Android SDK: 10.16.X – August 28, 2024

Features:


Release 5.0.1

Release date:  August 16, 2024

iOS SDK: 9.X.X
Android SDK: 10.X.X

Fixes:

  • Fixed an issue where swrve geo plugin (react-native-swrve-geo-plugin) was not compatible with native Swrve SDK.

Release 5.0.0

Release date:  April 25, 2024

iOS SDK: 9.0.0 – April 23, 2024
Android SDK: 10.14.0 – March 26, 2024

Features:

  • Updated the iOS native Swrve dependency to automatically use the latest minor version of release 9.X.X. For more information on the supported features and fixes, see the iOS SDK release notes.
  • Android native sdk is now automatically pulled in as a dependency. Remove it from your build.gradle.
  • Updated the SDK to use react native 0.73.4

Fixes:

  • Fixed an issue where Embedded Campaigns triggered at app launch were intermittently not triggering.
  • Fixed an issue on Android where the UserResourcesListener was not being triggered.
  • Fixed an issue on iOS where Push notifications were not showing when the app was in the foreground.

Release 4.1.3

Release date:  February 16, 2024

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

Fixes:

  • Fixed an Android issue where dismissing an in-app campaign using the android hardware button caused the app to crash.

Release 4.1.2

Release date:  February 12, 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 4.1.1

Release date:  December 20, 2023
iOS SDK: 8.9.X – October 27, 2023
Android SDK: 10.11.X – September 8, 2023

Fixes:

  • Fixed an Android issue where opening a deep link in a push notification caused the app to crash.
  • Resolved an Android issue involving a missing language level configuration in the build.gradle. The language level is now set to Java 1.8.

Release 4.1.0

Release date:  September 12, 2023

iOS SDK: 8.8.X – September 7, 2023
Android SDK: 10.11.X – September 8, 2023

Features:

  • InAppMessageListener now receives callbacks that include campaign and button metadata for the following in-app campaign interactions: impression, dismiss, custom, and copy to clipboard.
  • To improve campaign holdout reporting on in-app message and embedded campaigns, the SDK now sends an impression event. The EmbeddedListener has a control flag to determine if it is a holdout campaign.
  • Added the DeeplinkListener, which is used to access deeplinks from in-app messages, Conversations, and push notifications.
  • Deprecated the MessageDismissButtonPressedListener, MessageCustomButtonPressedListener, MessageClipboardButtonPressedListener, and EmbeddedMessageCampaignListenener callbacks. For more information, see In-app messages.

Release 4.0.1

Release date:  May 25, 2023

Fixes

  • Fixed an issue with the iOS native Swrve dependency using version 8.1.0 instead of the latest minor version.

Release 4.0.0

Release date:  September 16, 2022

iOS SDK: 8.X.X – August 4, 2022
Android SDK: 10.X.X – June 17, 2022

Features

  • Updated the iOS native Swrve dependency to automatically use the latest minor version of release 8.X.X. For more information on the supported features and fixes, see the iOS SDK release notes.
  • Updated the Android native Swrve dependency to automatically use the latest minor version of release 10.X.X. For more information on the supported features and fixes, see the Android SDK release notes.
  • To see a full list of the features supported by Release 4.0.0, see SDK version support for new in-app features.

Previous releases summary

Date Version Features and Fixes
May 17, 2022 3.2.0 Updated the native SDK dependencies to Android 9.4.0 and iOS 7.5.2.
March 10, 2022 3.1.0 Added support for custom text styling, padding, fonts, and line height for in-app messages. Updated the native SDK dependencies to Android 9.2.0 and iOS 7.4.0.
December 15, 2021 3.0.0 Added support for multiple lines of text in the in-app message text component. Updated the native SDK dependencies to Android 9.1.0 and iOS 7.3.0.
October 6, 2021 2.0.0 Added support for embedded campaigns. Added support for the Stop Tracking API, which stops the SDK from tracking a user’s activity and sending events until you call the identify or start API. Updated the native SDK dependencies to Android 8.0.0 and iOS 7.0.1.
February 19, 2021 1.3.0 Updated the native SDK dependencies to Android 7.4.0 and iOS 6.8.1. Updated the .podspec dependencies to facilitate the use of use_frameworks! in the iOS Podfile of a project.
November 4, 2020 1.2.1 Updated the Android native Swrve dependency to 7.3.2.
October 27, 2020 1.2.0 Updated tracking of device OS and type for platform-specific delivery of in-app messages, updated the iOS native Swrve dependency to 6.7.0, and updated the Android native Swrve dependency to 7.3.1.
September 2, 2020 1.1.0 Added support for geo-triggered campaigns, updated the iOS native Swrve dependency to 6.6.0, and updated the Android native Swrve dependency to 7.2.0.
July 17, 2020 1.0.0 Public release of Swrve React Native SDK plugin.