Liveness verification page of “liveness subflow“.

UML flows

Scenarios

  1. screen is opened and user can start liveness verification

  2. App loads Liveness license from CM. In case of error see Err1.

  3. Loaded license is used to initialize Liveness SDK. When license is invalid see Err2

  4. Liveness verification is started

    1. If success app gets LivenessID

    2. if fails see Err3

  5. App passes LivenessID to CM (can trigger Err4)

  6. Workflow is finished (can trigger Err5)

  7. App navigates to “new account root page“ with sub-flow marked as completed

Back action - exits liveness subflow without any confirmation prompt.

Code

Description

Handle

Err1

Get AdvAI Liveness license failed

TBD

Err2

AdvAI Liveness license invalid

TBD

Err3

AdvAI Liveness scan failed

TBD

Err4

CM Face comparison endpoint failed

TBD

Err5

CM workflow finish endpoint fails

TBD

Elements

Tag

Description

Data

1

Title

Localization key - onboarding.liveness.text.title

2

Description

Localization key - onboarding.liveness.text.subtitle

3

Instructions header

Localization key - onboarding.liveness.text.instructionsTitle

4

Instruction 1

Localization key - onboarding.liveness.text.instruction1

5

Instruction 2

Localization key - onboarding.liveness.text.instruction2

6

Instruction 3

Localization key - onboarding.liveness.text.instruction3

7

Status icon

Asset resource:

→ in initial state - app/images/liveness_face_image.svg

→ in success state (when livenessID was collected from plugin) - app/images/success_shadow.svg

8

Action button

Localization key -onboarding.liveness.text.action

Action - opens liveness check from AdvAI Liveness plugin