13.1.0
Fixed
- Updates the iOS sample app to properly retain the
BrazeReactDelegate
instance. Internally, the Braze SDK uses a weak reference to the delegate, which could be deallocated if not retained by the app. This change ensures the delegate is retained for the lifecycle of the app.
Added
- Updates the native iOS version bindings from Braze Swift SDK 11.0.0 to 11.1.1.
- Adds the method
Braze.getInitialPushPayload()
to get the push notification payload when opening the app via notification click while the application was in a terminated state.Braze.getInitialURL()
is now deprecated in favor ofBraze.getInitialPushPayload()
. To access the initial URL, use the new method to receive the push notification payload, and access the value of theurl
key.- If you are using
Braze.getInitialPushPayload()
, add the following code to yourapplication:didFinishLaunchingWithOptions:launchOptions:
:
This replaces[[BrazeReactUtils sharedInstance] populateInitialPayloadFromLaunchOptions:launchOptions];
populateInitialUrlFromLaunchOptions
, which is now deprecated.