GuidesAPI ReferenceRelease Notes
HomeLog InHome
Release Notes

0.50.1 - Android

Changelog

StoryPlayerItemCtaTheme

Added

  • Property: layoutPositioning

    • Description: Defines the layout positioning style of the CTA (Call to Action).
    • Type: PlayerCtaPositioning
    • Default Value: PlayerCtaPositioning.CTA_NEXT_TO_SHARE (if not specified)
  • Enum: PlayerCtaPositioning

    • Description: Enumeration to specify the positioning of the CTA button.
    • Values:
      • CTA_NEXT_TO_SHARE: Indicates the CTA is positioned next to the Share button.
      • CTA_BELOW_SHARE: Indicates the CTA is positioned below the Share button.

MomentPlayerGradientFooterTheme

Added

  • Property: endPositioning
    • Description: Defining the end positioning of the footer gradient within a player or item container.
    • Type: PlayerFooterGradientPositioning
    • Default Value: PlayerFooterGradientPositioning.BOTTOM_TO_CONTAINER (if not specified)
  • Enum: PlayerCtaPositioning
    • Description: Enumeration defining the end positioning of a gradient within a player or item container.
    • Values:
      • BOTTOM_TO_PLAYER: Indicates that the gradient's bottom will start from the bottom of the player.
      • BOTTOM_TO_CONTAINER: Indicates the CTA is positioned below the Share button.

StoryPlayerItemLastUpdateTheme

Added

  • Property: textCase

    • Description: Represents the text case of last update text used in StoryPlayerItemLastUpdateTheme.
    • Type: PlayerTextCase
      • Default Value: PlayerTextCase.LOWERCASE (if not specified)
  • Enum: PlayerTextCase.LOWERCASE

    • Description: Represents the various text case styles
    • Values:
      • UPPERCASE:All letters are capitalized.
      • LOWERCASE: All letters are in small form.

GlobalDelegates - Breaking changes

Modified

  • Change in Method: onEventTriggered
    • Old Signature:
      • `onEventTriggered: ((eventName: String, eventData: BlazeAnalyticsEvent) -> Unit)?
      • Parameters:
        • eventType: Type of the event from String.
        • eventData: Data of the event from BlazeAnalyticsEvent.
    • New Signature:
      • onEventTriggered: ((eventData: BlazeAnalyticsEvent) -> Unit)?
      • Parameter:
        • eventData: Consolidated event data from BlazeAnalyticsEvent.

Contextual Notes

  • This modification simplifies the event triggering mechanism within the SDK.
  • The new method signature consolidates the event type and data into a single BlazeAnalyticsEvent parameter, streamlining the interface.
  • This change may affect all implementations of the GlobalDelegates protocol, requiring updates to conform to the new method signature.

BlazeAnalyticsEvent - Breaking changes

Overview

  • Significant updates have been made to the BlazeAnalyticsEvent class. These changes include modifications to properties, methods, and overall structure.

Key Changes

  • Properties: Several properties have been added, removed, or modified to better align with the analytics requirements.
  • Structural Changes: Adjustments in the overall structure for more efficient data handling and integration with other components.

Detailed Documentation

For a complete and detailed overview of all the changes, enhancements, and their implications, please refer to the updated documentation:

Important Notes

  • Due to the extensive nature of these changes, it is recommended to review the documentation thoroughly to understand the impact on existing implementations.