github braze-inc/braze-android-sdk v42.0.0
42.0.0

8 hours ago

42.0.0

Release Date

Breaking

  • Updated Kotlin from 2.0.20 to 2.2.20.
    • Updated Kotlin Coroutines from 1.8.1 to 1.10.2.
    • Updated Kotlin Serialization from 1.8.0 to 1.9.0.
Fixed
  • Fixed an issue where non-HTML In-App Message view creation was dispatched to a background thread, causing an IllegalArgumentException when image loaders like Glide require the main thread. See #102 for details.
  • Fixed an issue where in-app messages from a previous user session could be presented after changeUser() is called. On user change, the in-app message stack, event map, and any carryover or unregistered messages are now unconditionally cleared.
  • Fixed an issue on API 36+ where pressing the Back button to dismiss an in-app message could also close the app or navigate back.
  • Fixed an issue where expired Banners would be returned in Braze.subscribeToBannersUpdates().
  • Fixed R8 optimized resource shrinking stripping custom res/values that Braze requires to operate when android.r8.optimizedResourceShrinking is enabled (Gradle 9.x). See #84 for details.
  • Fixed an issue where setDateOfBirth accepted out-of-range or negative date values instead of rejecting them.
  • Fixed a potential ANR when registering for Braze updates during Activity lifecycle (for example when using BrazeActivityLifecycleCallbackListener). That registration no longer blocks the UI thread.
Added
  • Added a config field BrazeConfig.setIsHtmlInAppMessageApplyWindowInsetsEnabled() to configure the SDK to automatically apply window insets to HTML In-App messages.
    • By default, this value is true.
  • Added support for dismissing slideup in-app messages by vertical swipes. Slideups from the bottom can be dismissed by swiping down and slideups from the top can be dismissed by swiping up.

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

NewReleases is sending notifications on new releases.