2.0.0 - iOS
Added
Logout
BlazeSDK.shared.logout(completion:) logs out the current user and continues as an anonymous user. See logout.
Breaking Changes
Unified analytics schema
Events delivered to onEventTriggered now use the unified cross-platform analytics schema. Event names and property values change, so review reports and app logic that depend on them. Some analytics types, enum cases and properties are also removed, renamed or change type, so code that reads them may stop compiling. See 2026 events schema and Migrate on iOS.
External user ID kept across launches
The external user ID is now kept across app launches until you call logout(completion:). setExternalUserId no longer accepts nil, and initialize takes restoreExternalUserId to start a launch as an anonymous user. See setExternalUserId and initialize.
Follow entity type required
The entityType parameter of the BlazeFollowEntity initializer no longer has a default value. Pass a BlazeFollowedEntityCategory, or nil when the type is unknown. See Follow entities.
Widget and container identifiers required
widgetIdentifier is now required on every widget initializer, on setup(widgetIdentifier:with:), and on the SwiftUI widget configurations and view models. containerIdentifier is now required on BlazeMomentsPlayerContainer and BlazeVideosInlinePlayer, and the tabId parameter is removed from the BlazeMomentsPlayerContainer initializer. Both identifiers used to default to a timestamp that changed on every launch, so widget analytics couldn't be grouped across sessions. Pass a stable label per placement. See Migrate on iOS.
