Skip to content

22.0.0

Latest

Choose a tag to compare

@appboyci appboyci released this 29 Jun 15:56
· 6 commits to master since this release
Breaking
  • Updates the native Swift SDK version bindings from Braze Swift SDK 15.1.0 to 16.0.0.
    • With this update, the underlying Content Cards list behind getCachedContentCards (including removed, viewed, and clicked states) is updated immediately when changes occur. This now matches the iOS behavior with Android.
  • Renames the Braze.BrazeBannerView placementID prop to placementId for consistency with other Banner APIs such as Braze.getBanner(placementId) and Braze.logBannerImpression(placementId).
    • Update any usages of placementID={...} to placementId={...}.
    • The onDismiss callback event payload field placementID has been renamed to placementId.
Added
  • Adds Braze.dismissBanner(placementId) to programmatically dismiss a Banner by placement ID.
  • Adds support for Banner dismissal events on Braze.BrazeBannerView.
  • Adds onDismiss to Braze.BrazeBannerView for integrators to run custom logic when a Banner is dismissed.
Deprecated
  • Deprecates getContentCards, which performs a network request before returning Content Cards.
    • This method will be removed in a future major version.
    • Use getCachedContentCards instead to retrieve the most recently cached Content Cards state, and requestContentCardsRefresh to manually trigger a background refresh.