15.0.0
Breaking
- Banners:
onDismissnow receivesBraze/BannerDismissalEventinstead ofBraze/Banner. - Raises the Xcode version to 26.0 (17A324).
- Raises the minimum Mac Catalyst deployment target from iOS 13 (macOS 10.15 Catalina) to iOS 16 (macOS 13 Ventura).
- Mac Catalyst users on macOS 12 Monterey or earlier are no longer supported.
- Removes the ability to control whether the SDK prevents showing in-app messages to different users in certain edge cases.
- Removes the option to configure through
Braze.Configuration.preventInAppMessageDisplayForDifferentUser. - The SDK will now always behave as if this configuration option were set to true.
- Removes the option to configure through
- Updates the
Braze.WebViewBridge.ScriptMessageHandlerandBraze.WebViewBridge.SchemeHandlerinit to have non-optionalchannelparameter.
Added
- Logs configuration validation messages when
Braze.Configuration.devicePropertyAllowListomitspushEnabledorpushAuthStatus.- Both are required for push token registration and for push notifications to behave correctly.
- Adds support for logging Braze eCommerce recommended events.
- Creates the following new event types:
Braze.Ecommerce.ProductViewedEventBraze.Ecommerce.CartUpdated.Replace— full cart snapshotBraze.Ecommerce.CartUpdated.Add— incremental addBraze.Ecommerce.CartUpdated.Remove— incremental removeBraze.Ecommerce.CheckoutStartedEventBraze.Ecommerce.OrderPlacedEvent
- Adds the following API:
Braze.logEcommerceEvent(_:) - Adds Objective-C compatible APIs:
-[Braze logEcommerceProductViewed:]-[Braze logEcommerceCartUpdated:]-[Braze logEcommerceCheckoutStarted:]-[Braze logEcommerceOrderPlaced:]
- Creates the following new event types:
Fixed
- Fixes a rare race condition where the app would become unresponsive when calling
changeUserorwipeDatawhile an HTML in-app message or banner was in the middle of displaying.