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.
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
, andEmbeddedMessageCampaignListenener
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.
Release 3.2.0
Release date: May 17, 2022
iOS SDK: 7.5.X – May 10, 2022
Android SDK: 9.4.X – May 12, 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
iOS SDK: 7.4.X – February 28, 2022
Android SDK: 9.2.X – February 28, 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
iOS SDK: 7.3.X – December 9, 2021
Android SDK: 9.1.X – December 14, 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
iOS SDK: 7.0.X – May 31, 2021
Android SDK: 8.0.X – July 29, 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
orstart
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
iOS SDK: 6.8.X – December 14, 2020
Android SDK: 7.4.X – December 14, 2020
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 ofuse_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. |