0.3.0 - React Native

ChangeLog

Added

  • Added Support for React Native 0.73.4.

InitOptions

  • appOverridesCTAHandling property has been added to InitOptions object.
  • globalPlayerStoryTheme property has been added to InitOptions object.
  • globalPlayerMomentTheme property has been added to InitOptions object.
  • globalDelegate and playerEntryPointDelegate properties were added to InitOptions object. This is a replacement for the previous syntax that was using RegisterGlobalEvents

BlazeSDK

  • setGlobalDelegate function has been added to BlazeSDK interface.
  • setEntryPointDelegate function has been added to BlazeSDK interface.
  • prepareStories(Android | iOS) function has been added to BlazeSDK interface.
  • playStories(Android | iOS) function has been added to BlazeSDK interface.
  • prepareMoments(Android | iOS) function has been added to BlazeSDK interface.
  • playStories/playStory / playMoments/ playMoment functions have a new option to send a player theme.

WidgetViews

  • All widget views have a new property widgetDelegate which is a new syntax to pass the delegate implementation in one object rather than as individual component properties.
  • widgetDelegate has new delegate functions: onPlayerDidAppear (Android| iOS) and onTriggerPlayerBodyTextLink(Android| iOS)
  • The delegate functions have been renamed.
  • shouldOrderMomentsByReadStatus (Android | iOS) property was added to the Moment Grid and Row widgets.

BlazeDataSourceType

  • Added [orderType](Android | iOS), [labelsPriority](Android | iOS) and [maxItems](Android | iOS) to datasource of type labels.
  • Added [orderType]\ to datasource of type ids.

Customization

BlazePlayerMomentTheme

  • Removed title property. Use headingText instead.
  • Added bodyText
  • Added chips
  • Added bottomComponentsAlignment
  • Removed BlazePaddings, please use BlazeMargins object instead.
  • Added textSize property to BlazeFirstTimeSlideCTAStyle /BlazeFirstTimeSlideText.

Removed

  • Android - Removed the GitHubPackages Maven repo declaration from the package's build.gradle. This should be defined in the app level.