- Adds the key
subscription_group_state
for setting the subscribed/unsubscribed status when usingbraze_subscription_groups
in the Identify call.- Use this value instead of
subscription_state_id
.
- Use this value instead of
- Adds support for nested custom attributes.
- If the object sent through Segment's
Identify
call has values that are of type[String: Any?]
, those values will be sent to Braze as a nested custom attribute. - If the object sent through Segment's
Identify
call contains an array, the values of that array will be converted to strings, and the array will be reported to Braze as an array of strings.
- If the object sent through Segment's
- Renames this repository from
analytics-swift-braze
tobraze-segment-swift
.- This repository is now located at https://github.com/braze-inc/braze-segment-swift.
- Adds the
SegmentBrazeUI
module, which provides theBrazeDestination
plugin withBrazeUI
support.- Use the
SegmentBraze
module if you do not need any Braze-provided UI.
- Use the
- Adds two optional parameters to the
BrazeDestination
initializer:additionalConfiguration
: When provided, this closure is called with the Braze configuration object before the SDK initialization. You can use this to set additional Braze configuration options (e.g. session timeout, push notification automation, etc.).additionalSetup
: When provided, this closure is called with the fully initialized Braze instance. You can use this to further customize your usage of the Braze SDK (e.g. register UI delegates, set up messaging subscriptions, etc.)- See the updated Sample App for an example of how to use these new parameters.
- Adds support for automatically forwarding the advertisingIdentifier (IDFA) to Braze when making use of the
IDFACollection
Segment plugin. - Adds support to parse
braze_subscription_groups
in the Identity traits to subscribe and unsubscribe from Braze subscription groups.
Initial release.