AdaptyUIOnboardingView
Represents an onboarding view in the Adapty UI.
An onboarding can be presented either as a standalone screen (modal) or embedded as a platform view inside your UI.
Standalone screens allow users to dismiss using native gestures (swipe down on iOS, back button on Android) and are ideal for optional onboardings. Embedded platform views give full control over dismissal and are ideal for required flows.
Properties
Functions
Link copied to clipboard
Dismisses the currently presented onboarding view.
Link copied to clipboard
suspend fun present(iosPresentationStyle: AdaptyUIIOSPresentationStyle = AdaptyUIIOSPresentationStyle.FULLSCREEN): AdaptyResult<Unit>
Presents the onboarding view to the user as a standalone screen.
Link copied to clipboard
suspend fun showDialog(title: String, content: String, primaryActionTitle: String, secondaryActionTitle: String? = null): AdaptyResult<AdaptyUIDialogActionType>
Presents a dialog on top of the onboarding view.