Presents an onboarding view as a modal
Presentation options
OptionaliosPresentationStyle?: AdaptyIOSPresentationStyleiOS presentation style. Available options: 'full_screen' (default) or 'page_sheet'. Only affects iOS platform.
Sets event handlers for onboarding view events
OptionaleventHandlers: Partial<OnboardingEventHandlers> = {}set of event handling callbacks
unsubscribe - function to unsubscribe all listeners
Each event type can have only one handler — new handlers replace existing ones. Default handlers are set during view creation: DEFAULT_ONBOARDING_EVENT_HANDLERS
onClose - closes onboarding view (returns true)If you want to override these listeners, we strongly recommend to return the same value as the default implementation from your custom listener to retain default behavior.
Important: Calling this method multiple times will override only the handlers you provide, keeping previously set handlers intact.
Provides methods to control created onboarding view