github braze-inc/braze-android-sdk v42.3.0

6 hours ago

Release Date

Note: This will be one of the last releases with Android SDK min of 21, it will be moving to SDK 24 in one of the coming releases.

Breaking

  • BannerView: BannerDismissSnapshot fields passed to onDismissCallback are now non-null. If the SDK cannot resolve placementId, stableKey, or trackingId, the callback is skipped and a warning is logged.
Fixed
  • Fixed the android-sdk-jetpack-compose Maven metadata to publish BOM-managed Compose dependencies, including androidx.compose.material:material, so ContentCardsList can resolve Material pull refresh classes without requiring apps to add Material 2 manually.
  • Fixed a potential ANR when backgrounding the app while a default HTML In-App Message WebView is visible (for example when using BrazeActivityLifecycleCallbackListener with the default persist-WebView-on-background behavior). WebView.onPause() is now deferred until after onActivityPaused returns.
Added
  • Banners: Added Braze.dismissBanner(placementId) / IBraze.dismissBanner to dismiss a Banner by placement ID programmatically.
  • Added structured eCommerce event logging via IBraze.logEcommerceEvent / Braze.logEcommerceEvent with eCommerceEvent: EcommerceEvent. Includes EcommerceEvent, EcommerceProduct, and concrete events CheckoutStartedEvent, CartUpdatedEvent, OrderPlacedEvent, and ProductViewedEvent, with built-in field validation, ISO 4217 currency enforcement, and automatic serialization.

Don't miss a new braze-android-sdk release

NewReleases is sending notifications on new releases.