Added
- Push notification objects are now accessible in the JavaScript layer via new fields on the
PushNotificationEventinterface.- Deprecates the following fields from the
PushNotificationEventinterface in favor of the new names that can be used on both iOS and Android:push_event_type-> Usepayload_typeinstead.deeplink-> Useurlinstead.content_text-> Usebodyinstead.raw_android_push_data-> Use theandroidobject instead.kvp_data-> Usebraze_propertiesinstead.
- Deprecates the following fields from the
- Adds iOS support for the listener event
Braze.Events.PUSH_NOTIFICATION_EVENT.- On iOS, only
"push_opened"events are supported, indicating the user interacted with the received notification. - The iOS event does not support the deprecated legacy fields mentioned above.
- On iOS, only
- Adds methods to manually perform the action of an In-App Message or Content Card when using a custom UI.
Braze.performInAppMessageButtonAction(inAppMessage, buttonId)Braze.performInAppMessageAction(inAppMessage)Braze.processContentCardClickAction(id)
- Updates the native iOS bridge from Braze Swift SDK 7.0.0 to 7.1.0.
Fixed
- Fixes the
setLastKnownLocationmethod to sanitize null inputs before calling the native layer.- This previously caused an issue when calling this method on the legacy React Native architecture.
- Updates the native Android bridge from Braze Android SDK 29.0.0 to 29.0.1.