3.0.0
Breaking
- Log separate purchases for each product in the
products
array in atrack
call.- In the past we used the event name as the product ID.
- Now if a
track
call has the event nameOrder Completed
or the keyrevenue
included inproperties
and also has aproducts
array, we will log each object in the array as a separate purchase usingproductId
as the product ID.price
andquantity
will be read from the individual array if available. All non-Braze recognized fields from the high levelproperties
and each individual product will be combined and sent as event properties. - If there is no
products
array we will continue using the event name as the product ID if the keyrevenue
is included inproperties
.
Added
- Added a push delegate method for apps using the
UserNotification
framework.- Follow our documentation for registering for push notifications using the
UserNotification
framework. - In
userNotificationCenter:didReceiveNotificationResponse:withCompletionHandler
add the following block of code:
if ([Appboy sharedInstance] == nil) { [[SEGAppboyIntegrationFactory instance].appboyHelper saveUserNotificationCenter:center notificationResponse:response]; } [[SEGAppboyIntegrationFactory instance].appboyHelper userNotificationCenter:center receivedNotificationResponse:response]; if (completionHandler) { completionHandler(); }
- Follow our documentation for registering for push notifications using the