Skip to content
GBG Documents & Biometrics Documentation

Customization

There is not currently any support for customization. Some functional customization will be added at a later point. Visual/branding customization will not be supported.

Localization of messages and errors is supported using a String Catalog. The comprehensive list of localised keys is provided below:

Key English (en) Comment
smart_capture_camera_permission_denied Camera permission denied Camera permission denied
smart_capture_face_face_camera_directly Face camera directly Feedback for when face is angled away from camera
smart_capture_face_fill_oval Fill the oval Feedback for when the face does not fill the oval (too small, not centered, etc.)
smart_capture_face_hold_still Hold still Feedback for when the face is moving around
smart_capture_face_move_back_and_fill_oval Move back and fill the oval Feedback for when face is too close to camera
smart_capture_face_not_detected Face not detected Face not detected
smart_capture_face_one_face_only One face only Feedback for when more than one face is present
smart_capture_face_photo_captured Photo Captured Feedback for when a photo is captured
smart_capture_face_position_in_oval Position your face within the oval Feedback for when no face is detected or no other feedback applies
smart_capture_initialization_error Initialization error Initialization error
smart_capture_manual_capture_not_allowed Manual capture not allowed Manual capture not allowed
smart_capture_photo_capture_error Photo capture error Photo capture error
smart_capture_unknown_error Unknown error Unknown error
  1. Add a string catalog to your project.
  2. Include the keys listed above.
    1. Customise the message.
    2. Add additional languages.
      1. Introduce the translated copy for each key.
  3. Add an additional string catalog named InfoPlist.xcstrings to your project to localize the Info.plist file of your project.
    1. Add a key named NSCameraUsageDescription to customize the camera permission request message.