1.20.0 - React Native

Breaking changes

  • The Moments Tabs bar now collapses when a container has 0 or 1 visible tabs. Set isTabTitleVisibleWhenSingleTab: true on BlazePlayerTabsStyle to keep it visible. See Widgets React Native.
  • ForYou.promotedLabels is renamed to coldStartLabels on BlazeRecommendationsType: no alias. See DataSource: React Native.

Added

  • activeTabIndicator to BlazePlayerTabsStyle for an underline indicator under the active tab's title. See Widgets React Native.
  • isTabVisibleWhenEmpty to BlazePlayerTabsStyle to keep or auto-remove a Moments Tabs tab whose content is empty or fails to load. See Widgets React Native.
  • multiAspectRatio on BlazeVideosPlaybackConfiguration is now optional and follows the native default, which changed to true. See Methods and parameters: React Native.
  • overlayVisibilityThresholdMs to BlazeVideosPlayerStyle to control how long the Videos controls overlay stays visible.
  • borderColor and borderWidth to BlazeMomentsPlayerCtaStyle, BlazeStoryPlayerCtaStyle, and BlazeVideosPlayerCtaStyle as a fallback CTA border when the CMS provides none. See BlazeMomentsPlayerCtaStyle and BlazeStoryPlayerCtaStyle.
  • ads.enablePreroll to BlazeStoriesPlaybackConfiguration to play a configured ad on the first unread page as a pre-roll. See Methods and parameters: React Native.
  • shouldPreserveLikesCountBelowThreshold to BlazeMomentsPlayerButtonsStyle to keep or collapse the space below the like button. See BlazeMomentsPlayerButtonsStyle.
  • sdkMetadata to BlazeOnTriggerCustomActionButtonParams, exposing SDK-populated data on custom action button clicks. See Player Entry Point Delegate: React Native.
  • widgetRemoteIdentifier to all widget views for remote Widget Builder control of layout, data source, and per-item style overrides. See Widgets React Native.
  • widgetId to all widget views to supply your own per-instance widget identifier. See Widgets React Native.
  • forceLayoutDirection ('ltr' / 'rtl') to InitOptions to force the SDK's screens into a layout direction at initialization. See Getting started React Native.
  • composite to BlazeDataSourceType to merge multiple data sources into one deduplicated feed, with per-source isMandatory. See DataSource: React Native.
  • onShareClicked to BlazeBasePlayerDelegate, delivering BlazeShareParams including the new extraInfo. See Player Entry Point Delegate: React Native.
  • Programmatic Moments tabs reload: reloadAllTabs(), reloadNonActiveTabs(), reloadTab(at:), and reloadTabByContainerId(): per-tab reload is iOS-only. See Methods: React Native.
  • captions (BlazeCaptionsStyle) to the Videos, Moments, and Stories player styles for caption font and on-screen position. See BlazeMomentsPlayerStyle and BlazeStoryPlayerStyle.
  • captions to BlazeStoryPlayerButtonsStyle and BlazeMomentsPlayerButtonsStyle to style or hide the CC toggle button. See BlazeStoryPlayerButtonsStyle and BlazeMomentsPlayerButtonsStyle.
  • videosFilterParams to the Videos entry points and widgets for content-type and stream-state filtering, plus startTimeDesc / startTimeAsc ordering. See Methods and parameters: React Native.
  • iOS-only backToLiveButton, statusIndicator, and waitingRoomMessage styling to BlazeVideosPlayerStyle.