@braze/react-native-sdk
Advanced tools
Changelog
2.0.1
Changelog
2.0.0
react-native-appboy-sdk
to @braze/react-native-sdk
.AppboyReactBridge
and AppboyReactUtils
to BrazeReactBridge
and BrazeReactUtils
, respectively.0.68
or higher.configuration
object. Then, add this code to complete the setup:
let braze = BrazePlugin.initBraze(configuration)
changeUser
method on the Braze instance for non-anonymous users. You can read more about it here.SDWebImage
as a dependency, add this line to your project's /ios/Podfile
:
pod 'SDWebImage', :modular_headers => true
subscribeToInAppMessage()
or else follow these instructions to add it to your app.AppDelegate.mm
file.Braze.launchNewsFeed()
Braze.getCardCountForCategories()
Braze.getUnreadCardCountForCategories()
Braze.getNewsFeedCards()
Braze.logNewsFeedCardClicked()
Braze.logNewsFeedCardImpression()