17.0.0
Breaking
- Updates the native Android SDK version bindings from Braze Android SDK 37.0.0 to 39.0.0.
- Removes support for News Feed. The following APIs have been removed:
launchNewsFeed
requestFeedRefresh
getNewsFeedCards
logNewsFeedCardClicked
logNewsFeedCardImpression
getCardCountForCategories
getUnreadCardCountForCategories
Braze.Events.NEWS_FEED_CARDS_UPDATED
Braze.CardCategory
Fixed
- Fixes an issue where
getDeviceID()
did not return when an error occurred. - Fixes the Android implementation of the
FeatureFlag
object to return the correct values for timestamp, image, and JSON objects. Prior to this change, the following APIs would returnundefined
on Android:Braze.getFeatureFlagTimestampProperty(id)
Braze.getFeatureFlagJSONProperty(id)
Braze.getFeatureFlagImageProperty(id)
- Fixes the
FeatureFlagTimestampProperty
object type to bedatetime
instead oftimestamp
. - Fixes an issue where passing a null value for
googleAdvertisingId
tosetAdTrackingEnabled()
could cause a crash on Android.
Added
- Adds support for Banner properties via new public methods for
Banner
:banner.getStringProperty(key:)
for accessingString
properties.banner.getNumberProperty(key:)
for accessingnum
properties.banner.getTimestampProperty(key:)
for accessingint
Unix UTC millisecond timestamp properties.banner.getBooleanProperty(key:)
for accessingbool
properties.banner.getImageProperty(key:)
for accessing image URL properties asString
s.banner.getJSONProperty(key:)
for accessing JSON properties asMap<String, dynamic>
.
- Deprecates the following static methods in favor of new
FeatureFlag
instance methods:Braze.getFeatureFlagStringProperty(flagId, propertyKey)
, instead useflag.getStringProperty(key)
Braze.getFeatureFlagBooleanProperty(flagId, propertyKey)
, instead useflag.getBooleanProperty(key)
Braze.getFeatureFlagNumberProperty(flagId, propertyKey)
, instead useflag.getNumberProperty(key)
Braze.getFeatureFlagTimestampProperty(flagId, propertyKey)
, instead useflag.getTimestampProperty(key)
Braze.getFeatureFlagJSONProperty(flagId, propertyKey)
, instead useflag.getJSONProperty(key)
Braze.getFeatureFlagImageProperty(flagId, propertyKey)
, instead useflag.getImageProperty(key)