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.globalDelegateandplayerEntryPointDelegateproperties 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 have 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]\ to datasource of typeids.
Customization
CustomizationBlazePlayerMomentTheme
BlazePlayerMomentTheme- Removed
titleproperty. UseheadingTextinstead. - Added
bodyText - Added
chips - Added
bottomComponentsAlignment - Removed
BlazePaddings, please useBlazeMarginsobject 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.
