0.8.2 - iOS
February 1st, 2024
ChangeLog
Added
- Blaze Class Methods
- Added playStories(dataSourceType:appearance:completion:) method to play stories for a specific dataSourceType.
- Added prepareStories(dataSourceType:completion:) method to prepare and load stories for a specific dataSourceType.
- Analytics Events:
- Added an event for SDK initialization.:
- New Functionality for BlazeDataSourceType:
- labelsPriority: This new functionality within the labels case of BlazeDataSourceType allows specifying the priority of labels, enabling content to be sorted based on the defined priority order.
Updated
- BlazeDataSourceType Enum
- The labels case now includes labelsPriority: [BlazeWidgetLabel]? = nil, orderType: BlazeOrderType? = nil, and maxItems: Int? = nil parameters. These enhancements provide more detailed control over the content request, including prioritization of labels, ordering of content, and limiting the number of items to retrieve.
- The ids case has been updated to allow specifying an orderType: BlazeOrderType? = nil, offering more flexibility in managing data sources identified by string identifiers.
Fixed
- Bug Fixes:
- Addressed an issue in BlazeWidgetDelegate where the deprecated onTriggerCTA method was incorrectly required to be implemented.
- Fixed a similar issue in BlazePlayerContainerDelegate with the mandatory implementation of the deprecated onTriggerCTA method.
- Resolved a playback issue in BlazeMomentsPlayerContainer where content would not play if shouldPrepareContent was set to false.
- Fixed a fetching issue in BlazeMomentsPlayerContainer where content was fetched twice when shouldPrepareContent was true and the play method was called along with the container's initialization.
- Fixed Grid and Container sizeLimit issue.
Deprecated
- Deprecated Properties:
- Deprecated standalone sizeLimit and orderType properties in favor of incorporating them as associated values within the dataSourceType cases. This change aims to simplify and streamline the configuration process for BlazeWidgets and BlazeMomentsPlayerContainer.
