1.21.0 - React Native

Breaking changes

  • followEntity.isVisible on BlazeMomentsPlayerStyle now defaults to true, so the follow chip shows on content that carries a follow entity. Set isVisible: false to keep the previous look. See BlazeMomentsPlayerStyle.
  • Every Moments widget preset now shows the duration badge. Hide it with widgetItemStyle.durationElement.isVisible: false. See BlazeWidgetItemStyle: React Native.
  • Moments tabs onTabSelected on iOS now reports the index among visible tabs and no longer fires for hidden tabs; on Android it fires on the initial selection, programmatic selection, and swipes. See Widget delegate: React Native.
  • Moments tabs reloadTab(at) on iOS now takes the index among visible tabs, and on Android the four tabs reload methods now act while the fullscreen tabs player is open. See Methods: React Native.
  • Android host apps need compileSdk 35 or higher. See Getting started React Native.
  • The Stories player now shows the page title under the story title by default. Hide it with subtitle: { isVisible: false } on BlazeStoryPlayerStyle. See BlazeStoryPlayerStyle.
  • buttons.backToLiveButton and buttons.statusIndicator on BlazeVideosPlayerStyle, iOS-only in 1.20.0, now apply on Android too, except the back-to-live state's isVisible, borderColor, borderWidth, and icon.

Added

  • StoriesWidget.Row.animatedThumbnailsCircles, StoriesWidget.Row.verticalAnimatedThumbnailsRectangles, and VideosWidget.Row.horizontalAnimatedThumbnailsRectangles presets for Row widgets with animated thumbnails. See Widgets React Native.
  • iconSource ('Default' / 'Star') to the Moments follow chip states for a star-shaped follow chip. See BlazeMomentsPlayerStyle.
  • subtitle to BlazeStoryPlayerStyle to style the page title under the story title. See BlazeStoryPlayerStyle.
  • Live Catchup in the Videos player for live streams that carry a catchup recap, with buttons.liveCatchup on BlazeVideosPlayerStyle to style or hide its button.
  • buttons.audio to BlazeVideosPlayerStyle for the audio track selector button.
  • subtitle, description, and playIconElement to widgetItemStyle, and durationElement now applies on Android. See BlazeWidgetItemStyle: React Native.
  • BlazeSDK.followEntitiesManager, with providerName and entityType on BlazeFollowEntity, to set, read, and report followed entities with metadata; the ID-based BlazeSDK follow methods are deprecated. See Follow entities: React Native.
  • followedEntities to BlazeDataSourceType to source content from the entities the user follows. See DataSource: React Native.
  • onTriggerInteractionLink to every player delegate, and interactionLinkHandling to InitOptions and widgets, to handle links that Engagement Layer interactions open. See Player Entry Point Delegate: React Native and Widgets React Native.
  • Content entitlements: externalUserToken in InitOptions, BlazeSDK.setExternalUserToken(token, cachedContentPolicy), and the onContentRestricted delegate callback. See Methods and parameters: React Native and Player Entry Point Delegate: React Native.
  • BlazeSDK.isInColdStart(playerType) to tell whether the For You feed serves cold-start content to the current user. See Methods and parameters: React Native.
  • onTabReselected to momentsContainerTabsDelegate for taps on the title of the tab that is already selected. See Widget delegate: React Native.
  • iOS-only ignoresTopSafeArea and ignoresBottomSafeArea to BlazePlayerTabsStyle to extend the Moments tabs player behind the safe areas. See Widgets React Native.
  • iOS-only ignoresBottomSafeArea to BlazeMomentsPlayerStyle to extend the Moments player behind the bottom safe area. See BlazeMomentsPlayerStyle.
  • iOS-only Liquid Glass: BlazeSDK.setLiquidGlassEnabled(enabled) and isLiquidGlassEnabled(), with a per-element glassBackground override. See Methods and parameters: React Native and BlazePlayerButtonStyle.
  • The SDK now persists followed entities across launches, and setFollowedEntities replaces the user's follows on every device. See Follow entities: React Native.

Fixed

  • IMA ad tags built by the SDK are now percent-encoded and always carry ad_rule=0. See BlazeIMADelegate: React Native.
  • iOS: a host-app crash at SDK initialization, most likely right after an SDK upgrade.
  • iOS Picture-in-Picture: returning to full screen after pausing from the PiP window shows the Play button instead of a stuck spinner, and a paused inline PiP session closed without restoring stays paused.
  • iOS Moments tabs: closing the fullscreen tabs player reports onPlayerDidDismiss before the player is torn down.
  • iOS widgets: a widget item badge no longer shrinks the thumbnail.
  • Android widgets: preset badge defaults now match iOS; check widgets that rely on the preset badge position, margins, or titlePadding.
  • Android Engagement Layer: appInterface.setAppContext calls from Stories and Moments players now work in published builds.