White-Labeling Process:
To enable white-labeling, host app theming colors and details, such as the host app’s name and logo, are provided to the miniapp within its settings.Steps to Get Started:
-
Enable Inheritance of Host App Colors
Turn on Inherit host app colors within the miniapp settings. Additionally, provide default colors for scenarios where the host app doesn’t share its theming colors. -
Retrieve Miniapp Settings
Call theAppBoxoWebAppGetMiniappSettings
event to retrieve the miniapp’s settings. -
Apply UI Customizations
Update the UI accordingly, using the data provided in the settings.