37.0.0
Breaking
- Removed the config field
BrazeConfig.setIsHtmlInAppMessageApplyWindowInsetsEnabled()
and defaulted its behavior to true. The SDK will now unconditionally apply window insets to all HTML In-App Messages. - Removed
IBraze.requestContentCardsRefresh(boolean)
. Please instead useIBraze.requestContentCardsRefresh()
andIBraze.requestContentCardsRefreshFromCache()
. - Removed
BrazeConfig.Builder.setDeviceObjectWhitelist()
. Please useBrazeConfig.Builder.setDeviceObjectAllowlist()
instead. - Removed
BrazeConfig.Builder.setDeviceObjectWhitelistEnabled()
. Please useBrazeConfig.Builder.setDeviceObjectAllowlistEnabled()
instead. - Removed
ContentCardsUpdatedEvent.getLastUpdatedInSecondsFromEpoch
. Please instead usegetTimestampSeconds()
(Java) ortimestampSeconds
(Kotlin). - Removed
FeatureFlag.getTimestamp(key)
. Please useFeatureFlag.getTimestampProperty(key)
instead. - Removed
BrazeWebViewClient.shouldInterceptRequest(view, url)
. Please useBrazeWebViewClient.shouldInterceptRequest(view, request)
instead. - Removed
IBraze.getInstallTrackingId()
. Please useIBraze.deviceId
instead.
Fixed
- Fixed an issue where a
LeakedClosableViolation
would occur when disabling and re-enabling the SDK. - Fixed an issue with Android TalkBack announcing "double tap to activate" on header and body text in In-App Messages.
Added
- Added support for Android 16 (API 36).
- Note that apps targeting API 36 should update to this SDK version.
- Added
shutdown()
toIBrazeImageLoader
to allow for cleanup of resources. - Improved accessibility support across In-App Messages and Content Cards by introducing alt text for images (by setting their content description).
- Added the ability to pass
null
toBrazeUser.setGender(gender)
in order to unset the gender value.
Changed
UriAction.openUriWithActionViewFromPush
,UriAction.openUriWithWebViewActivity
, andUriAction.openUriWithWebViewActivityFromPush
are marked asopen
and can now be overridden.