Onboarding
The onboarding feature presents essential information to the user on how to best capture documents. You can customize the onboarding in the following ways:
Deactivate showing the onboarding at the first run
By default, the onboarding is shown in the first run. To deactivate this, passfalse
toGiniConfiguration.shared.onboardingShowAtFirstLaunch
.Customize the onboarding pages
If you wish to show different onboarding pages, pass a list ofOnboardingPage
structs toGiniConfiguration.shared.customOnboardingPages
.Force showing the onboarding
If you wish to show the onboarding after the first run, passtrue
toGiniConfiguration.shared.onboardingShowAtLaunch
.Animate illustrations by injecting custom views
If you need to animate the illustrations on the onboarding pages, implement theOnboardingIllustrationAdapter
interface to inject a view that can animate images (for example,Lottie
) and pass it to the relevant onboarding illustration adapter setters (for example,onboardingAlignCornersIllustrationAdapter
,onboardingLightingIllustrationAdapter
,onboardingMultiPageIllustrationAdapter
,onboardingQRCodeIllustrationAdapter
) when configuring theGiniConfiguration.shared
instance.
For more information about UI customization, see Onboarding Screen.