Last modified September 13, 2023 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.

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 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 4.1.0

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

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.

Release 3.2.0

Release date:  May 17, 2022

Features

  • Updated the iOS native Swrve dependency to 7.5.2.
  • Updated the Android native Swrve dependency to 9.4.0.

Release 3.1.0

Release date:  March 10, 2022

Features

  • Added support for custom text styling, padding, fonts, and line height for in-app messages. For more information, see Intro to in-app messages.
  • Updated the iOS native Swrve dependency to 7.4.0.
  • Updated the Android native Swrve dependency to 9.2.0.

Release 3.0.0

Release date:  December 15, 2021

Features

  • Added support for multiple lines of text in the in-app message text component.
  • Updated the iOS native Swrve dependency to 7.3.0.
  • Updated the Android native Swrve dependency to 9.1.0.

Release 2.0.0

Release date:  October 6, 2021

Features

  • Added support for Embedded campaigns. For more information, see the integration guide.
  • 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. For more information, see the integration guide.
  • Updated the iOS native Swrve dependency to 7.0.1.
  • Updated the Android native Swrve dependency to 8.0.0.

Fixes

  • Resolved an issue where IAM clipboard actions were firing as install actions.

Release 1.3.0

Release date: February 19, 2021

Features

  • Updated the iOS native Swrve dependency to 6.8.1.
  • Updated the Android native Swrve dependency to 7.4.0.

Fixes

  • Updated the .podspec dependencies to facilitate the use of use_frameworks! in the iOS Podfile of a project.

Previous releases summary

Date Version Features and Fixes
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.