You can optionally choose to modify the colors and other resources used in the View Controllers, by overriding assets in your app bundle.

Colors

You can override the following colors to personalize all the views:

lib_bg_color
lib_nav_bar_color
lib_button_gray
lib_cancel_text
lib_white_text
lib_text_color

Overriding the following colors will only affect LiveFaceVerificationViewController:

lib_error_text_color
lib_error_view_bg
lib_progress_color
lib_progress_track_color

Image Assets

You can add new image assets using the following names to override the default images in the library:

button_next
button_next_tapped
button_next_disabled
lib_bg
lib_nav_bar_logo
lib_button_confirm
lib_button_confirm_pressed
lib_button_capture

To override the assets used by LiveFaceVerificationViewController, add image assets with these names:

icon_error
lfv_smile
lfv_straight_face
lfv_capture_selfie_step
lfv_close_left_eye
lfv_close_right_eye
lfv_icon_done

To override assets used by DriverLicenseScannerViewController, add assets with these names:

icon_dl_back
icon_dl
info_icon

To override assets used by PassportScannerViewController, add assets with these names:

icon_passport
info_icon

Localization keys for LiveFaceVerificationViewController

The library will look for a LiveFaceVerification.strings file inside the app bundle and if it can’t find one, it’ll use the default strings.

"different_face_error" = "Different face in the frame";
"missed_expression_error" = "Whoops, missed it. Please try again.";
"no_face_error" = "No Face Detected";
"multiple_faces_error" = "Multiple faces in the frame";
"camera_permission_rationale" = "Access to the camera is required for scanning your IDs and taking pictures.";
"generic_error" = "An error occurred while performing the requested operation. %@";
"capture_selfie_step_instruction" = "This photo is for your profile and can be shared with others.";
"smile_step_instruction" = "Smile!";
"no_smile_step_instruction" = "No Smile.";
"close_left_eye_step_instruction" = "Close your left eye";
"close_right_eye_step_instruction" = "Close your right eye";
"Live Face Verification" = "Live Face Verification";
"Okay" = "Okay";
"Cancel" = "Cancel";
"Skip" = "Skip";
"Error" = "Error";

Localization Keys for DriverLicenseScannerViewController & PassportScannerViewController

The library will look for an IdScanner.strings file inside the app bundle and if it can’t find one, it’ll use the default strings.

"license_capture_error" = "An error occurred while capturing your license. Please try again.";
"cannot_find_face_error" = "An error occurred while looking for a face in the captured image. Please try again.";
"cannot_scan_barcode_error" = "An error occurred while scanning the code on your license. Please try again.";
"id_information_captured" = "ID information captured";
"scan_barcode" = "Scan the barcode on the back";
"capture_back" = "Capture the back side";
"no_face_found_error" = "No face found in the picture.\nPlease try again and make sure you don\'t crop out the face after taking the picture.";
"Error" = "Error";
"flip_id_message" = "Now flip your ID to %@.";
"picker_default_instruction" = "Choose an option to continue.";
"select_country_instruction" = "Select the issuing country of your Driver License.";
"Driver License" = "Driver License";
"Driver License %@" = "Driver License %@";
"confirm_capture_instruction" = "Confirm you can see your photo clearly and approve the %@.";
"scan_barcode_instruction" = "Align ID inside the guidelines and scan the barcode on the back of your drivers license.";
"Approve %@" = "Approve %@";
"capture_photo_instruction" = "Align ID inside the guidelines and take a photo of the %@ of your %@.";
"Front" = "Front";
"Scan" = "Scan";
"Back" = "Back";
"capture_passport" = "Capture Passport";
"info_page" = "info page";
"Passport" = "Passport";
"Approve %@" = "Approve %@";
"Re-Take" = "Re-Take";
"Cancel" = "Cancel";
"Skip" = "Skip";