0.3.0 - React Native
March 5th, 2024
ChangeLog
Added
- Added Support for React Native
0.73.4.
InitOptions
InitOptionsappOverridesCTAHandlingproperty has been added toInitOptionsobject.globalPlayerStoryThemeproperty has been added toInitOptionsobject.globalPlayerMomentThemeproperty has been added toInitOptionsobject.globalDelegateAndroid | IOS andplayerEntryPointDelegateproperties were added toInitOptionsobject. This is a replacement for the previous syntax that was usingRegisterGlobalEvents
BlazeSDK
BlazeSDKsetGlobalDelegatefunction has been added toBlazeSDKinterface.setEntryPointDelegatefunction has been added toBlazeSDKinterface.prepareStories(Android | IOS) function has been added toBlazeSDKinterface.playStories(Android | IOS) function has been added toBlazeSDKinterface.prepareMoments(Android | IOS) function has been added toBlazeSDKinterface.playStories/playStory/playMoments/playMomentfunctions have a new option to send a player theme.
WidgetViews
WidgetViews- All widget views were added a new property
widgetDelegatewhich is a new syntax to pass the delegate implementation in one object rather than as individual component properties. widgetDelegatehas new delegate functions:onPlayerDidAppear(Android| IOS) andonTriggerPlayerBodyTextLink(Android| IOS)- The delegate functions have been renamed.
shouldOrderMomentsByReadStatus(Android | IOS) property was added to the Moment Grid and Row widgets.
BlazeDataSourceType
BlazeDataSourceType- Added [
orderType](Android | IOS), [labelsPriority](Android | IOS) and [maxItems](Android | IOS) to datasource of typelabels. - Added [
orderType](Android | IOS) to datasource of typeids.
Customization
CustomizationBlazePlayerMomentTheme
BlazePlayerMomentTheme- Removed
titleproperty. UseheadingText(Android | IOS) instead. - Added
bodyText(Android | IOS) - Added
chips(Android | IOS) - Added
bottomComponentsAlignment(Android | IOS) - Removed
BlazePaddings, please. use[BlazeMargins](https://dev.wsc-sports.com/docs/react-native-blaze-widget-layout#margins)object instead. - Added
textSizeproperty toBlazeFirstTimeSlideCTAStyle/BlazeFirstTimeSlideText`.
Removed
- Android - Removed the
GitHubPackagesMaven repo declaration from the package'sbuild.gradle. This should be defined in the app level.
