IncdOnboarding SDK Customization guide
IncdOnboarding SDK Customization guide
IncdOnboarding SDK enables you to customize the default provided theme - you can easily change colors, fonts, logo, videos and texts.
Change the Theme
Please follow the guide for IncdTheme
Change the logo
We support the ability for you to use your own logo image which is shown on some of the onboarding screens. To achieve this, name your image “incdOnboardingLogo” and place it in your app’s asset catalog (usually called “Assets.xcassets”).
The logo can also be changed dynamically by assigning a UIImage to the global variable IncdTheme.logo.
Hide the logo
To hide the logo shown on some screens please create a completely white image, name it “incdOnboardingLogo” and place it in your app’s asset catalog (usually called “Assets.xcassets”).
The logo can also be hidden by assigning an empty UIImage to the global variable IncdTheme.logo.
Module Specific logos
Face capture module, including login, can use a custom logo to display during face capture step. Use customLogo parameter when calling addSelfieScan and startFaceLogin respectively.
VideoSelfie module can display a custom logo on all steps of capture. Use setLogo(UIImage(named: "LogoName")) from VideoSelfieConfiguration before calling addVideoSelfie(videoSelfieConfiguration: videoSelfieConfiguration).
Change Lottie animations
You can replace the default Lottie animations used by the SDK. To do so, add your own animations with the following names.
Tutorial animations
The following animations are displayed as tutorials before ID and Selfie scan:
tutorial_front.jsonortutorial_front.lottiefor changing ID front tutorial videotutorial_back.jsonortutorial_back.lottiefor changing ID back tutorial videotutorial_passport.jsonortutorial_passport.lottiefor changing Passport tutorial video
Processing animation
incode-processing-animation.jsonorincode-processing-animation.lottiefor the processing animation
Updated 2 days ago
