Skip to content

Releases: braze-inc/braze-react-native-sdk

1.41.0

07 Dec 21:49
Compare
Choose a tag to compare
⚠ Breaking
  • Removed setFacebookData().
  • Removed setTwitterData().
Changed
  • Updated the native Android bridge to Braze Android SDK 23.3.0.
  • Exposes isControl field for ContentCard.
  • Removed kotlinVersion gradle template variable. To override the Kotlin version used, please use a Gradle dependency resolutionStrategy.

1.40.0

14 Oct 18:23
Compare
Choose a tag to compare
⚠ Breaking
Changed
  • Updated the React podspec dependency to React-Core.

1.39.0

26 Sep 21:47
Compare
Choose a tag to compare
⚠ Breaking
  • Renamed the kotlin_version gradle template variable to kotlinVersion.
  • Updated the native Android bridge to Braze Android SDK 23.2.0.
Fixed
  • Fixed an issue that caused a NativeEventEmitter warning message to appear.

1.38.1

12 Sep 21:02
Compare
Choose a tag to compare
Fixed
  • Fixed an issue introduced in 1.38.0 where setEmail did not work as expected on Android.

1.38.0

25 Aug 17:31
Compare
Choose a tag to compare
⚠ Breaking
  • Updated the native Android bridge to Braze Android SDK 23.0.1.
  • Updated the native iOS bridge to Braze iOS SDK 4.5.0.
  • The Braze React Native Android SDK now requires Kotlin directly for compilation. An example is included below:
      buildscript {
          ext.kotlin_version = '1.6.0'
    
          dependencies {
              classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
          }
      }
Added
  • Introduced Braze.Events.PUSH_NOTIFICATION_EVENT which can be used to listen for Braze Push Notification events on Android. See example below:
    Braze.addListener(Braze.Events.PUSH_NOTIFICATION_EVENT, function(data) {
      console.log(`Push Notification event of type ${data.push_event_type} seen.
        Title ${data.title}\n and deeplink ${data.deeplink}`);
      console.log(JSON.stringify(data, undefined, 2));
    });
  • Added Braze.requestPushPermission() to request a permissions prompt for push notifications.

1.37.0

25 Jul 21:02
Compare
Choose a tag to compare
⚠ Breaking
  • The Braze React Native SDK now exports its default object as an ES Module. If you currently import the SDK using require(), you will need to now import it as a standard ES Module (e.g. import Braze from "react-native-appboy-sdk").
Added
  • Introduced Braze.subscribeToInAppMessage() which publishes an event to the Javascript layer when an in-app message is triggered and allows you to choose whether or not to use the default Braze UI to display in-app messages.

1.36.0

27 Jun 17:58
Compare
Choose a tag to compare
⚠ Breaking
  • Updated the native Android bridge to Braze Android SDK 21.0.0.
  • Updated the native iOS bridge to Braze iOS SDK 4.4.4.
  • Removed setAvatarImageUrl().
  • Removed logContentCardsDisplayed. This method was not part of the recommended Content Cards integration and can be safely removed.

1.35.1

16 Mar 17:31
Compare
Choose a tag to compare
Fixed
  • Fixed an issue introduced in 1.35.0 where setMetadata did not have a method implementation for Android.

1.35.0

11 Mar 19:03
Compare
Choose a tag to compare
⚠ Breaking

1.34.1

28 Jan 17:47
Compare
Choose a tag to compare
Fixed
  • Fixed an issue where getInitialUrl would not resolve when there is no initial URL.