react-native-appboy-sdk
Advanced tools
Changelog
1.41.0
setFacebookData()
.setTwitterData()
.isControl
field for ContentCard
.kotlinVersion
gradle template variable. To override the Kotlin version used, please use a Gradle dependency resolutionStrategy
.Changelog
1.40.0
React
podspec dependency to React-Core
.Changelog
1.39.0
kotlin_version
gradle template variable to kotlinVersion
.Changelog
1.38.1
setEmail
did not work as expected on Android.Changelog
1.38.0
buildscript {
ext.kotlin_version = '1.6.0'
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
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));
});
Braze.requestPushPermission()
to request a permissions prompt for push notifications.Changelog
1.37.0
require()
, you will need to now import it as a standard ES Module (e.g. import Braze from "react-native-appboy-sdk"
).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.Changelog
1.36.0
setAvatarImageUrl()
.logContentCardsDisplayed
. This method was not part of the recommended Content Cards integration and can be safely removed.Changelog
1.35.1
setMetadata
did not have a method implementation for Android.Changelog
1.35.0