13.0.0
Breaking
- Extends the functionality of
BrazeSDKAuthDelegate.braze(_:sdkAuthenticationFailedWithError:)
to be triggered for "Optional" authentication errors.- The delegate method
BrazeSDKAuthDelegate.braze(_:sdkAuthenticationFailedWithError:)
will now be triggered for both "Required" and "Optional" authentication errors. - If you want to only handle "Required" SDK authentication errors, add a check ensuring that
BrazeSDKAuthError.optional
isfalse
inside your implementation of this delegate method.
- The delegate method
- Fixes the usage of
Braze.Configuration.sdkAuthentication
to take effect when enabled.- Previously, the value of this configuration was not consumed by the SDK and the token was always attached to requests if it was present.
- Now, the SDK will only attach the SDK authentication token to outgoing network requests when this configuration is enabled.
- The setters for all properties of
Braze.FeatureFlag
and all properties ofBraze.Banner
have been madeprivate
. The properties of these classes are now read-only. - Removes the
Braze.Banner.id
property, which was deprecated in version11.4.0
.- Instead, use
Braze.Banner.trackingId
to read a banner's campaign tracking ID.
- Instead, use
Added
- Adds the boolean field
optional
toBrazeSDKAuthError
to indicate if it is an optional authentication error.