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.json or tutorial_front.lottie for changing ID front tutorial video
  • tutorial_back.json or tutorial_back.lottie for changing ID back tutorial video
  • tutorial_passport.json or tutorial_passport.lottie for changing Passport tutorial video

Processing animation

  • incode-processing-animation.json or incode-processing-animation.lottie for the processing animation