1.21.0 - Flutter


Breaking changes

  • The Moments player shows the follow chip by default, because the bundled native SDKs (iOS 1.21.4 and Android 1.21.3) default followEntity.isVisible to true. The chip shows only for an entity that has a follow image. To hide it, set followEntity: BlazeMomentsPlayerFollowEntityStyle(isVisible: false) on BlazeMomentsPlayerStyle. See Follow button for Moments.

Added

Authentication

  • externalUserToken on BlazeSDK.initSDK(), and BlazeSDK.setExternalUserToken() to update or clear it later, choosing whether already-fetched content is kept or evicted (BlazeFetchedContentPolicy).

Content access and interactions

  • onContentRestricted on the player delegates, to know when a viewer isn't entitled to an item and why. The SDK withholds playback and shows its locked state.
  • onTriggerInteractionLink on the player delegates, fired when an in-player interaction opens a link.
  • interactionLinkHandling (deeplink, web, handled) on initSDK(), overridable per widget, to choose how the SDK opens those links. With handled, the app routes the link itself.
  • BlazeSDK.isInColdStart() to check whether a player type is in cold start.

Follow entities

  • BlazeSDK.followEntitiesManager, a follow API that accepts provider name and entity type (team, player, property) on BlazeFollowEntity.
  • BlazeDataSourceType.followedEntities, to build widgets and players from the content of followed entities.
  • A star icon option for the Moments follow chip (iconSource).

Widgets

  • subtitle and description styles on widget items.
  • playIconElement to show or hide the play icon on widget items. durationElement now also applies on Android.
  • New animated-thumbnail presets: stories_row_animatedThumbnailsCircles, stories_row_verticalAnimatedThumbnailsRectangles and videos_row_horizontalAnimatedThumbnailsRectangles.

Players

  • audio and liveCatchup buttons, and statusIndicator and backToLiveButton styles on the Videos player for live streams.
  • onTabReselected on BlazePlayerContainerTabsDelegate, fired when the active Moments tab is tapped again.
  • BlazeMomentsWidgetController.reloadTab() and reloadTabByContainerId() now work on Android as well as iOS.
  • iOS only: ignoresTopSafeArea and ignoresBottomSafeArea on BlazePlayerTabsStyle, and ignoresBottomSafeArea on BlazeMomentsPlayerStyle, to let content extend edge to edge.

iOS 26 Liquid Glass

  • BlazeSDK.setLiquidGlassEnabled() and isLiquidGlassEnabled(), plus glassBackground on supported player buttons and widget elements. iOS only; no effect on Android.

Analytics

  • onEventTriggered now reports the new player start and exit triggers and event actions, including follow, search, PiP and casting events.

Changed

  • The Stories player now shows the current page's title under the story title, when the page has one. Style it with subtitle on BlazeStoryPlayerStyle, or hide it with isVisible: false.
  • On iOS, onTabSelected and onTabReselected now report the index among visible Moments tabs, and BlazeMomentsWidgetController.reloadTab() takes that index. This matches Android. Apps that hide empty tabs (isTabVisibleWhenEmpty: false) should check any index-based logic.

Fixed

  • onEventTriggered no longer drops analytics events that carry a value this SDK version doesn't recognize.
  • Android: BlazeSDK.hostingAppContext now reaches Engagement Layer interactions in release builds.
  • Android: the Videos player closes instead of crashing when the system restores it.
  • iOS: playback no longer gets stuck loading after pausing from the Picture-in-Picture window.
  • iOS: dismissing the live catch-up popup no longer pauses live playback.

Deprecated

  • The ID-based follow methods on BlazeSDK (setFollowedEntities, insertFollowedEntities, removeFollowedEntities, getFollowedEntities). They keep working; use BlazeSDK.followEntitiesManager instead.