Mobile SDK stages
The Mobile SDK supports the stages below.
Welcome
This is the first screen and will always default to show as the first screen. It displays a welcome message and a summary of the stages you have configured for the client.
The welcome screen allows you to set a custom title.
let welcomeStage = WelcomeStageBuilder()
.setTitle(title: "Custom Screen Title")
.setMessage(message: "Custom welcome message.")
.build()// Kotlin
var welcomeStage = Welcome(
title = "Custom Screen Title",
message = "Custom welcome message."
) // Java
Welcome welcome = new Welcome(
"Custom Screen Title",
"Custom welcome message",
null
);const settings = {
// ... other settings
stages: [
{
name: "intro",
heading: "Custom Screen Title",
message: "Custom welcome message.",
},
// ... other stages
],
};Consent
You can optionally add this stage to enforce explicit consent collection before the client can progress in the flow.
The consent screen allows you to set a custom title.
let consentStage = UserConsentStageBuilder()
.setTitle(title: "Terms of Service")
.build()// Kotlin
var consentStage = Consent(
title = "Custom Consent Screen Title"
)// Java
UserConsent userConsent = new UserConsent(
"Custom Consent Screen Title",
null,
null
);const settings = {
// ... other settings
stages: [
{
name: "consent",
heading: "Custom Consent Screen Title"
},
// ... other stages
],
};Selfie photo and video
You can request a selfie photo (i.e. a Live Photo for an Identity Check) capture or video (i.e. a Live Video for an Enhanced Identity check) capture from your client.
Photo - will take a photo of the client and perform a liveness check before allowing them to submit.
Video - will take a video of the client and request them to perform a challenge before allowing them to submit.
If you attempt to add both types of stages, the SDK will throw a ComplyCubeErrorCode.BiometricStageCount error stating multiple conflicting stages.
Document
This stage allows clients to select the type of identity document they would like to submit. You can customize these screens to:
Limit the scope of document types the client can select, e.g., Passport only.
Set the document issuing countries they are allowed for each document type.
Add or remove automated capture using smart assistance.
Show or hide the instruction screens before capture.
Set a retry limit to allow clients to progress the journey regardless of capture quality.
You can remove the information screens shown before camera captures by enabling or disabling guidance. You should only consider omitting this if you have clearly informed your client of the capture steps required.
NFC capture
ComplyCube's Mobile SDK enables NFC-based RFID chip reading in identity documents for accurate authentication and data extraction.
Pre-requisites
CocoaPods
Install the CocoaPods Artifactory plugin by running the following command in your terminal:
To add the library, copy your repository credentials into a
.netrcfile to your home directory and setup the repository:Remember to fetch your credentials from Jfrog using the Set Me Up button here.
Add plugin repos and install the pod using your
Podfile:You must add the following keys to your application
Info.plistfile:
To read NFC tags correctly, you need to add the following entries to your app target's
Info.plistfile:
Start by adding your access credentials for the ComplyCube NFC-Enabled SDK repository to the
gradle.propertiesfile of your mobile app:
Then, update your project level
build.gradlefile with the ComplyCube SDK repository Maven settings:
Update your module level
build.gradlefile with the SDK dependency:
Enabling NFC capture
Address capture
This stage allows clients to input their address. You can set the permitted countries and whether to enable our address autocomplete screen.
Proof of address
When requesting a proof of address document, you can set the allowed document types and whether the client can upload the document.
Completion
You can add an optional completion stage at the end of the process and let the client know the process has been completed.
Last updated
Was this helpful?