You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.BrazeBannerViewplacementID 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.