Skip to content

2.0.0

Compare
Choose a tag to compare
@wesleyorbin wesleyorbin released this 08 Feb 20:12
· 31 commits to master since this release
  • The Braze React Native SDK npm package has moved from react-native-appboy-sdk to @braze/react-native-sdk.
  • Renames AppboyReactBridge and AppboyReactUtils to BrazeReactBridge and BrazeReactUtils, respectively.
  • Updates the native iOS bridge to use the new Swift SDK version 5.9.1.
  • During migration, update your project with the following changes in your iOS integration:
    • To initialize Braze, follow these integration steps to create a configuration object. Then, add this code to complete the setup:
      let braze = BrazePlugin.initBraze(configuration)
      
    • To continue using SDWebImage as a dependency, add this line to your project's /ios/Podfile:
      pod 'SDWebImage', :modular_headers => true
      
    • For sample code to help with the migration, reference our sample app and AppDelegate.m file.
    • If you are integrating this SDK with an application that uses only Objective-C, create an empty Swift file to ensure that all the relevant Swift runtime libraries are linked. Reference this file from our sample app.
  • The following methods for News Feed are now no-ops on iOS:
    • Braze.launchNewsFeed()
    • Braze.getCardCountForCategories()
    • Braze.getUnreadCardCountForCategories()
  • Updates the native Android bridge to Braze Android SDK 24.2.0.