Breaking
- The iOS bridge now automatically attaches the default In-App Message UI with the
brazeinstance, without needing to callsubscribeToInAppMessage(). This updates the behavior from2.0.0to simplify integration.- This change doesn't affect integrations using custom UIs for in-app messages.
- Changes the returned value when subscribing to
Braze.Events.CONTENT_CARDS_UPDATEDto be aBraze.ContentCardsUpdatedEventobject instead of a boolean.Braze.ContentCardsUpdatedEventcontains acardsproperty which is an array of the Content Cards in the update.- Thanks @Minishlink for your contribution!
Fixed
- Fixes an issue in the iOS bridge where
getContentCards()andgetNewsFeedCards()returned data in a different format than the Android bridge. - Fixes the behavior when using the recommended iOS integration where the React Bridge delegate had conflicts with other dependencies. The updated sample app code can be found here.
Added
- Updates the native iOS bridge to Braze Swift SDK 5.13.0.
- Improves typescript definitions for
addListenerevent types.