Predefined steps
All our frameworks have predefined steps which can be easily used. Almost all steps have configs and inputs. In this section, I will describe all available steps in the current framework, their configs and will show how they look like.
Right now all steps localized in Russian and English.
Intro
This step is intro for other steps in the chain.
Input:
config
Config
Config has predefined static variables:
startVerification
rfid
liveness
world
selfieWithDoc
signature
Confirm
You can use this step in the end of the process.
Input:
config
Output:
As output, you will receive a Response enum. Which lets you understand what action was chosen by the user.
Config
Config has predefined static variables:
livenessSuccess
livenessFail
congrats
AcceptTerms
Do not use this step it is only for our internal demo project. Maybe we will share it with everybody later
DocumentSelection
If you want to allow a user to select a type of the document before verification process, you can use this step.
Input:
documents - instances which implement DocumentTypeViewProtocol
config
Output:
As output, you will receive an Int value, this gives you an index of the selected type
DocumentIntro
You can use this step as a step before some document scan.
Input
config
Output
As output, you will receive a StepResult enum. Which lets you understand what action was chosen by the user. This step has two action buttons - take photo and take image from gallery
Config
Config has predefined static variables:
worldwide
worldwideBack
utilityBill
travelDocument
idCard
ukrainianPassportFirst
ukrainianPassportSecond
ukrainianPassportThird
ukrainianPassportFourth
DocumentConfirm
You can use this step as a step after some document scan.
Input
config
Output
As output, you will receive a StepResult enum. Which lets you understand what action was chosen by the user. This step has two action buttons - retry and next
SelfieIntro
This step is intro selfie step.
Input
config
SelfieWithDocConfirm
You can use this step as a step after selfie with doc photo.
Input
config
Output
As output, you will receive a StepResult enum. Which lets you understand what action was chosen by the user. This step has two action buttons - retry and next
Last updated