Skip to main content

Verify Identity

In this section we will describe how to customize the Wallet component text.
For example, if you want to configure the strings for your language, insert the strings in the intl_en.arb file.

All the camera process are described in Sdk - DocCapture Documentation, included the editable strings in strings.xml file for Android version and Localizable.strings file for iOS version.
More info here.

Selection View

This is the view where you need to select the type of document to be captured.

The text components in the intl_en.arb file are:

  1. "ADD_DOC_INITIAL" for Insert Document.
  2. "ADD_DOC_INFO" for the Title.
  3. "CIE" for Electronic Identity Card Label.
  4. "Passport" for Passport Label.
  5. "PaperID" for Paper Identity Card Label.
  6. "BTN_OK" for the "OK" Button.

For the Generic Error Text Components:

  • "ADD_DOC_ERROR_CRITICAL" for Critical Error on Add Document Process.
  • "ADD_DOC_ERROR_PICK_IMAGE_CAMERA" for Error on Image capturing from Camera.
  • "ADD_DOC_REQUEST_ERROR" for Add Document Request Error.
  • "ADD_DOC_REQUEST_ERROR_DETAILS" for Error on Add Document Request.
  • "ADD_DOC_REQUEST_ERROR_DETAILS_SEND" for Error on Add Document Request sending.

For the Process Error Text Components:

  • "DC_E_CAMERA_PERMISSION_NOT_GRANTED" for Error on camera permission.
  • "DC_E_GENERIC_ERROR" for Error while taking document photo.
  • "DC_E_CANCELED" for Error when the operation is canceled by the user.
  • "DC_E_GOT_BACK" for Error when the operation is interrupted by the user.

For the Info Text Components:

  • "ADD_DOC_INFO_COUNTRY_SELECT" for Please choose Country Label.
  • "ADD_DOC_INFO_DOC_TYPE_SELECT" for Please choose Document Type Label.

For the Take Photo Info Text Components:

  • "ADD_DOC_TAKE_PHOTO_BACK" for Take a photo of the back of document.
  • "ADD_DOC_TAKE_PHOTO_BACK_DETAILS" for Take a photo of the back of document with Details.
  • "ADD_DOC_TAKE_PHOTO_FRONT" for Take a photo of the front of document.
  • "ADD_DOC_TAKE_PHOTO_FRONT_DETAILS" for Take a photo of the front of document with Details.
  • "ADD_DOC_TAKE_PHOTO_FRONT_ADDITIONAL_DETAILS" for Take a photo of the front of document with Additional details.
  • "ADD_DOC_TAKE_PHOTO_FRONT_SELECTED_DETAILS" for Confirm or Cancel the selected image.

Notify Page View

This is the view where you can see the entire process to add Verified Identity.

The text components in the intl_en.arb file are:

  1. "PROOF_REQUIRES_INFO" for Notification Message first part.
  2. "email" for the Email Label.
  3. "selfie_img" for Selfie Image Label.
  4. "type" for Type Label.
  5. "country" for Country Label.
  6. "document_img_front" for the Document Front Image Label.
  7. "document_img_back" for the Document Back Image Label.
  8. "terms_and_condition" for the Terms and Condition Label.
  9. "privacy_notice" for the Privacy Notice Label.
  10. "username" for the Username Label.
  11. "BTN_REJECT" for the Reject Button.
  12. "BTN_SEND" for the Send Button.

For 2.1 the text component is:

  • "VERIFICATION_MISSING_ATTRS" for Verification Missing Attribute - first part.

For 4.1 the text component is:

  • "ADD_SELFATTESTED" for Insert a Self-Attested value.

These text components can contain some System Variables enclosed in braces. Let's see

Error Page View

This is the view that appears when there is an error while taking the Document Capture.

The text components in the intl_en.arb file are:

  1. "UPGRADE_DOCUMENT_ERROR" for the Title.
  2. "DC_E_CANCELED" for the Message.
  3. "BTN_TRY_AGAIN" for "Try Again" Button's Text.