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.
- With this update, the underlying Content Cards list behind
- Renames the
Braze.BrazeBannerViewplacementIDprop toplacementIdfor consistency with other Banner APIs such asBraze.getBanner(placementId)andBraze.logBannerImpression(placementId).- Update any usages of
placementID={...}toplacementId={...}. - The
onDismisscallback event payload fieldplacementIDhas been renamed toplacementId.
- Update any usages of
Added
- Adds
Braze.dismissBanner(placementId)to programmatically dismiss a Banner by placement ID. - Adds support for Banner dismissal events on
Braze.BrazeBannerView. - Adds
onDismisstoBraze.BrazeBannerViewfor 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
getCachedContentCardsinstead to retrieve the most recently cached Content Cards state, andrequestContentCardsRefreshto manually trigger a background refresh.