1.0.4 - React Native

ChangeLog

Added

  • Add new IMA package.
  • Added random case to BlazeOrderType.
  • Added BlazeWidgetItemBadgeStyle.
  • Added isSilentRefresh to updateDataSource method.
  • Added play method to Widgets.
  • Added BlazePlayerDisplayMode to Moments Player styling. See (Android | iOS).
  • Added onPlayerEventTriggered to BlazePlayerSourceDelegate. See (Android | iOS).
  • Added multiple capabilities to BlazeMomentsCtaStyle.
  • Added updateOverrideStyles method to Widgets.
  • Added BlazeSDK.canHandleUniversalLink method to global methods.
  • Added BlazeRecommendationsType to BlazeDataSourceType. See Android | iOS.

Updated

  • For Moments widgets, shouldOrderMomentsByReadStatus was renamed to shouldOrderWidgetByReadStatus. For Stories widgets, it was added. See (Android | iOS).
  • Updated the position of the share button to be under the mute button in the Stories player.

Widget Layout Customization

  • The prop widgetItemAppearance was renamed to widgetItemStyle.
  • Inside title , The props readStyle and unreadStyle renamed to readState and unreadState respectively.
  • Inside image -> border , The props liveReadBorder and liveUnreadBorder and readBorder and unreadBorder renamed to liveReadState and liveUnreadState and readState and unreadState respectively.
  • Inside statusIndicator , The props liveUnreadIndicator and liveReadIndicator and unreadIndicator and readIndicator renamed to liveUnreadState and liveReadState and unreadState and readState respectively.
  • BlazeWidgetItemBadgeStyle Has been updated with new states.
  • BlazeWidgetItemStatusIndicatorStateStyle Has been updated with borderColor and borderWidth as replaceable to border props

Story Customization

  • BlazePlayerStoryTheme was renamed to BlazeStoryPlayerStyle.

  • The props ctaStyle renamed to cta

    • The props shouldShowCloseButtonForAds has been removed, Use isVisibleForAds in each button style

    • Updated playerSeekBar renamed to seekBar

      • The props playingSeekBarStyle renamed to playingState

      • The props pausedSeekBarStyle renamed to pausedState

        Updated Buttons

        • For mute, share, exit -> image props renamed to customImage
    • Updated firstTimeSlideAppearance renamed to firstTimeSlide

      • The props subTitle renamed to subtitle

Moment Customization

  • Updated BlazePlayerMomentTheme renamed to BlazeMomentsPlayerStyle.

    • The props ctaStyle renamed to cta
    • The props shouldShowCloseButtonForAds has been removed, Use isVisibleForAds in each button style
  • Updated playerSeekBar renamed to seekBar

    • The props playingSeekBarStyle renamed to playingState

    • The props pausedSeekBarStyle renamed to pausedState

      Updated Buttons

      • For mute, share, exit, like, play -> image props renamed to customImage
  • Updated firstTimeSlideAppearance renamed to firstTimeSlide

    • The props subTitle renamed to subtitle