Breaking
- If you are using the New Architecture, this version requires React Native
0.70or higher. - Fixes the sample setup steps for iOS apps conforming to
RCTAppDelegate.- ⚠️ If your app conforms to
RCTAppDelegateand was following our previousAppDelegatesetup in the sample project or Braze documentation, you will need to reference our updated samples to prevent any crashes from occurring when subscribing to events in the new Turbo Module. ⚠️
- ⚠️ If your app conforms to
- If your project contains unit tests that depend on the Braze React Native module, you will need to update your imports to the
NativeBrazeReactModulefile to properly mock the Turbo Module functions in Jest.- For an example, refer to the sample test setup here.
- Updates the native Android bridge from Braze Android SDK 25.0.0 to 26.3.1.
- Fixes the presentation of in-app messages to match the documented behavior.
- Calling
subscribeToInAppMessagesoraddListenerin the Javascript layer will no longer cause a customBrazeInAppMessageUIDelegateimplementation on iOS to be ignored. - Calling
Braze.addListenerfor theinAppMessageReceivedevent will subscribe in both the Javascript and the native layers (iOS + Android). This means it is no longer required to callBraze.subscribeToInAppMessage.- Per the Braze documentation, you do not need to explicitly call
subscribeToInAppMessageto use the default In-App Message UI.
- Per the Braze documentation, you do not need to explicitly call
- See our documentation for more details around Advanced customization.
- Calling
Added
- Migrates the Braze bridge to a backwards-compatible New Architecture Turbo Module.
- This is a non-breaking change to your existing imports of the Braze SDK if you are using React Native
0.70+. - The Braze SDK continues to be compatible with both the New Architecture and old React Native architecture.
- This is a non-breaking change to your existing imports of the Braze SDK if you are using React Native
- Adds the
getDeviceIdmethod to replacegetInstallTrackingId, which is now deprecated. - Updates the native iOS bridge from Braze Swift SDK 6.3.1 to 6.4.0.
- Adds a conditional library namespace to the Android
build.gradlefile to prepare for React Native 0.73, which uses AGP 8.x.- For more details, refer to this React Native announcement.