Skip to end of banner
Go to start of banner

UI Injection

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

UI injection enables full customization of specific sections of the UI through the integration of custom views into the SDK's UI layouts. This capability lets developers create the UI from scratch and tailor it beyond elements like colors, typography, text, or images. However, it's important to note that this complete customization is restricted to only those parts of the SDK's UI layouts that support UI injection.

The injected UI should conform to the requirements of the SDK's UI layouts. It permits customization of the look and feel but doesn't provide the option to add or remove functionality.

To achieve this, the SDK exposes UI injection interfaces for customizable parts of the UI layouts. These interfaces enable the SDK to request custom view implementations for injection and define the criteria that the injected views must meet.

Example 1: You can replace the onboarding illustrations with your own view. This lets you inject views that display animations, for example, with Lottie.

Example 2: You can fully customize the look of the navigation bar by injecting your own navigation bar view.

  • No labels