14.1.0
Added
- Adds support for Banner dismissal events.
- Adds an optional
onDismissclosure to bothBrazeBannerUI.BannerUIView(UIKit) andBrazeBannerUI.BannerView(SwiftUI) for integrators to run custom logic when a banner is dismissed.- By default, this closure is a no-op.
- Adds an optional
- Improves the robustness of the SDK's internal state management.
- This release includes an internal refactor intended to make SDK behavior more consistent. No external API changes.
- Adds error logging for Banners operations, providing actionable diagnostics for persistence failures and invalid banner states.
Fixed
- Improves robustness around push notification and deep link handling during delayed SDK initialization.
- Fixes an issue where
Braze.FeatureFlags.subscribeToUpdateswould not trigger the update closure upon all refresh completions.- All refresh completions, regardless of a success or error result, will now trigger the update closure. This change brings parity with the Android and Web SDKs.
- Previously, the update closure would not always trigger upon the completion of a refresh request, depending on whether the cached data had previously been reported.