0.50.1 - Android
December 7th, 2023
Changelog
StoryPlayerItemCtaTheme
StoryPlayerItemCtaThemeAdded
-
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
MomentPlayerGradientFooterThemeAdded
- 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
StoryPlayerItemLastUpdateThemeAdded
-
Property:
textCase- Description: Represents the text case of last update text used in StoryPlayerItemLastUpdateTheme.
- Type:
PlayerTextCase- Default Value:
PlayerTextCase.LOWERCASE(if not specified)
- Default Value:
-
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
GlobalDelegates - Breaking changesModified
- Change in Method:
onEventTriggered- Old Signature:
- `onEventTriggered: ((eventName: String, eventData: BlazeAnalyticsEvent) -> Unit)?
- Parameters:
eventType: Type of the event fromString.eventData: Data of the event fromBlazeAnalyticsEvent.
- New Signature:
onEventTriggered: ((eventData: BlazeAnalyticsEvent) -> Unit)?- Parameter:
eventData: Consolidated event data fromBlazeAnalyticsEvent.
- Old Signature:
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
BlazeAnalyticsEventparameter, streamlining the interface. - This change may affect all implementations of the
GlobalDelegatesprotocol, requiring updates to conform to the new method signature.
BlazeAnalyticsEvent - Breaking changes
BlazeAnalyticsEvent - Breaking changesOverview
- Significant updates have been made to the
BlazeAnalyticsEventclass. 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.
