GuidesAPI ReferenceRelease Notes
HomeLog InHome
Release Notes

0.9.0 - iOS

ChangeLog

Added

  • BlazeWidgetItemBadge Struct
    • Represents the configuration for the badge of a widget item.
  • BlazeBadgeBorderStyle Struct
    • Represents the border style configuration for a badge.
  • Added to the BlazeWidgetView, BlazeSwiftUIStoriesWidgetViewModel, and BlazeSwiftUIMomentsWidgetViewModel:
    • perItemStyleOverrides Property
      • A dictionary property that maps BlazeWidgetItemCustomMapping instances to BlazeWidgetItemStyleOverrides. This mapping enables the application of custom style overrides to individual items within the widget based on specified criteria or attributes.
    • updateWidgetsUI Method
      • Updates the user interface of the widget(s) managed by this class. This method is responsible for applying any pending changes to the widgets' appearances, including style overrides, or layout adjustments.
    • updateOverrideStyle Method
      • Updates the style override for a single item within the widget based on a custom mapping and optionally refreshes the widget's UI to reflect the change.
      • This method allows for dynamic customization of an item's appearance by applying a new style override or removing an existing one. If nil is passed as the style, any existing override for the specified item will be removed.
    • updateOverrideStyles Method
      • Updates style overrides for multiple items within the widget based on custom mappings and optionally refreshes the widget's UI to reflect these changes.
      • This method supports bulk updates to style multiple items, allowing efficient customization of the widget's appearance. Similar to updateOverrideStyle, passing nil as a style for an item removes the existing override for that item.
  • BlazeWidgetItemCustomMapping Struct
    • BlazeWidgetItemCustomMapping is a structure designed to facilitate custom key-value mappings for Blaze widget items. It enables the association of specific data points with a widget item, allowing for flexible data representation within the widget.
  • BlazeWidgetItemStyleOverrides Struct
    • BlazeWidgetItemStyleOverrides is a structure used to define custom style overrides for a specific item within a Blaze widget. It allows customization of various visual aspects of an item.
  • Haptic Feedbacks
    • Added new haptic feedbacks for interactions.

Fixed

  • Fixed a small UI bug when reloading data with skeletons.
  • Resolved a bug where the SDK ignored a specific appearance passed in the playStory method and always used the global appearance.