Releases: mindbox-cloud/react-native-sdk
Release 3.0.0-rc
Release Notes
React Native New Architecture support has been added. Starting from this version, the SDK no longer supports the old React Native architecture.
Important
This is a breaking release. Follow the Migration Guide to upgrade.
Breaking Changes
React Native
- The SDK now requires the React Native New Architecture to be enabled.
- The minimum supported React Native version has been raised to
>=0.76.0. - The minimum supported React version has been raised to
>=18.0.0. - The SDK has migrated to TurboModule / codegen integration via
NativeMindboxSdk, so integrations relying on the old bridge-based architecture may require updates.
Deprecated JS APIs have been removed:
getTokenupdateToken
Android
- The SDK no longer supports the old React Native architecture. If
newArchEnabled=false, the build will fail. - The minimum Android SDK version has been raised from 21 to 24.
- The public integration API for
MindboxJsDeliveryhas changed:- Previously, integrations used
MindboxJsDelivery.Shared.getInstance(context)and stored an instance withReactContext; nowMindboxJsDeliveryis a Kotlinobjectand should be used directly viaMindboxJsDelivery.sendPushClicked(intent). - Client integrations in
MainActivitythat passContextorReactContexttoMindboxJsDeliverymust be migrated.
- Previously, integrations used
iOS
- The SDK no longer supports the old React Native architecture. A compile-time guard has been added: the build fails when
RCT_NEW_ARCH_ENABLED != 1. - The minimum iOS version has been raised from 12.0 to 15.1.
Release 2.15.2
Upgrade Android SDK dependency to v2.15.2 and iOS SDK dependency to v2.15.1
New Features
- Added Mindbox anonymizer support
Release 2.15.1
Upgrade Android SDK dependency to v2.15.1
Fixes
- [Android] Fixed onboarding in-app not displaying in release builds with R8 enabled
Release 2.15.0
Upgrade Android and iOS SDK dependencies to v2.15.0
Warning
Onboarding in-app may not display correctly on the Android target in release builds with R8 enabled. Fixed in React Native SDK 2.15.1. If you stay on 2.15.0, add the following rule to your app's android/app/proguard-rules.pro:
-keepclassmembers class cloud.mindbox.mobile_sdk.inapp.presentation.view.BridgeMessage$* {
<fields>;
}
New Features
- Added a new in-app format — onboarding: a sequence of fullscreen screens shown one after another, configured entirely in the Mindbox dashboard without additional development. Learn more in the guide
Improvements
- Internal improvements and maintenance
Release 2.15.0-rc
Upgrade Android and iOS SDK dependencies to v2.15.0-rc
New Features
- Added a new in-app format — onboarding: a sequence of fullscreen screens shown one after another, configured entirely in the Mindbox dashboard without additional development. Learn more in the guide
Release 2.14.6
Upgrade Android and iOS SDK dependencies to v2.14.5
Fixes
- [iOS] Fixed random crashes related to
MindboxCommoncaused by garbage collection
Improvements
- [Android] Simplified custom push handling by adding public APIs for creating PendingIntent and handling push clicks
- Internal improvements and maintenance
Release 2.14.5
Upgrade Android and iOS SDK dependencies to v2.14.4
New Features
updateNotificationPermissionStatus(granted: Boolean)is deprecated. UserefreshNotificationPermissionStatusinstead
Fixes
- [iOS] Fixed random crashes on Thread 1 related to MindboxCommon, caused by a Kotlin/Native bug in versions 1.9.*–2.0.0 during garbage collection
Improvements
- [iOS] Updated Universal Links docs and Example; removed
windowfromMindboxSceneDelegate— declare your ownUIWindowif needed - Internal improvements and maintenance
Release 2.14.4
Upgrade Android and iOS SDK dependencies to v2.14.3
Fixes
- [Android] Fixed in-apps not showing when payload contained JSON data
Release 2.14.3
Upgrade Android SDK dependency to v2.14.2 and iOS SDK dependency to v2.14.3
Improvements
- [iOS] Reduced crash risk by removing
fatalErrorcalls and replacing them with safe error handling & logging - Internal improvements and maintenance
Release 2.14.1
Upgrade Android and iOS SDK dependencies to v2.14.1
New Features
- Added a new in-app format for running satisfaction surveys, enabling user feedback collection directly in the app
Improvements
- Improved multiple in-apps per session handling, setting priorities, and delaying in-app display