AdaptyUIOnboardingPlatformView
Displays an embedded onboarding as a platform view in your Compose UI hierarchy.
This Composable allows you to embed an onboarding directly in your UI rather than presenting it as a full-screen modal. It provides inline callbacks for various events, such as loading completion, errors, user actions, state updates, and analytics.
Parameters
The onboarding instance to display.
Defines where the web should be opened. Defaults to AdaptyWebPresentation.IN_APP_BROWSER.
Optional Modifier for styling and layout.
Callback invoked when the onboarding finishes loading successfully.
Callback invoked when the onboarding fails to load.
Callback invoked when a close action is triggered by the user.
Callback invoked when a paywall action is triggered by the user.
Callback invoked when a custom action is triggered by the user.
Callback invoked when the state of an onboarding element is updated.
Callback invoked when an analytics event occurs within the onboarding.