Skip to main content

Customization

Currently the only officially supported customization is localization.

Theme

The ozone SDK is currently designed for use with the SmartCaptureUiTheme included in commons. We strongly recommend using that included theme. If used with any other theme we cannot guarantee readability/good UX (see theme documentation for more info).

Localization

The SDK can be localized by overriding the following strings within your app's strings.xml. Note some of these strings in practice won't ever appear (for example reading_dg3 can't occur on a phone within the current ICAO standards), but we recommend localizing all of them to be safe.

<resources>
<!-- Reading Status String -->
<string name="smart_capture_ozone_generic_reading">Reading</string>
<string name="smart_capture_ozone_performing_active_authentication">Performing Active Authentication</string>
<string name="smart_capture_ozone_performing_chip_authentication">Performing Chip Authentication</string>
<string name="smart_capture_ozone_performing_hash_validation">Performing Hash Validation</string>
<string name="smart_capture_ozone_performing_bac">Performing Basic Access Control</string>
<string name="smart_capture_ozone_performing_pace">Performing Password Authenticated Connection Establishment</string>
<string name="smart_capture_ozone_reading_card_access_file">Reading Card Access File</string>
<string name="smart_capture_ozone_reading_com">Reading Header and Data Group Presence Information</string>
<string name="smart_capture_ozone_reading_sod">Reading Document Security Object</string>
<string name="smart_capture_ozone_reading_dg1">Reading Machine Readable Zone</string>
<string name="smart_capture_ozone_reading_dg2">Reading Face Image</string>
<string name="smart_capture_ozone_reading_dg3">Reading Fingerprint</string>
<string name="smart_capture_ozone_reading_dg4">Reading Iris</string>
<string name="smart_capture_ozone_reading_dg5">Reading Display Portrait</string>
<string name="smart_capture_ozone_reading_dg7">Reading Signature Image</string>
<string name="smart_capture_ozone_reading_dg11">Reading Additional Personal Details</string>
<string name="smart_capture_ozone_reading_dg12">Reading Additional Document Details</string>
<string name="smart_capture_ozone_reading_dg13">Reading Optional Details</string>
<string name="smart_capture_ozone_reading_dg14">Reading Document Security Options</string>
<string name="smart_capture_ozone_reading_dg15">Reading Active Authentication Key</string>

<!-- UI Strings -->
<string name="smart_capture_ozone_scan_the_nfc_chip_title">Scan the NFC chip on your E-document</string>
<string name="smart_capture_ozone_scan_the_nfc_chip_text">Your identity document contains an electronic chip which holds the same information that is printed on the photo page.\n\nTo confirm its authenticity, we’re going to scan the chip using Near Field Communication (NFC) on your phone.\n\nPosition and hold the middle of the document to the top of your phone.</string>
<string name="smart_capture_ozone_continue_text">Continue</string>
<string name="smart_capture_ozone_how_to_scan_the_nfc_chip">How to scan the NFC chip</string>
<string name="smart_capture_ozone_remove_doc_cover_alt_text">An image showing the removal of a document cover off of a passport</string>
<string name="smart_capture_ozone_remove_doc_cover_title">Remove any document covers</string>
<string name="smart_capture_ozone_remove_doc_cover_body">Remove any covers or sleeves from your document.</string>
<string name="smart_capture_ozone_touch_phone_to_doc_alt_text">An image showing a phone centered on a passport</string>
<string name="smart_capture_ozone_touch_phone_to_doc_title">Touch phone against document</string>
<string name="smart_capture_ozone_touch_phone_to_doc_body">Make sure the back of your phone and document are touching.</string>
<string name="smart_capture_ozone_slide_phone_up_down_alt_text">An image showing a phone sliding up and down against a passport</string>
<string name="smart_capture_ozone_slide_phone_up_down_title">Slide phone up and down</string>
<string name="smart_capture_ozone_slide_phone_up_down_body">Slide your phone slowly up and down the document until you see the dots progress.</string>
<string name="smart_capture_ozone_hold_phone_still_alt_text">An image showing the phone being held still against a passport</string>
<string name="smart_capture_ozone_hold_phone_still_title">Hold phone and document still</string>
<string name="smart_capture_ozone_hold_phone_still_body">When the dots are progressing, the phone is scanning the document. Hold the phone and document still.</string>
<string name="smart_capture_ozone_try_different_page_alt_text">An image showing the phone against the data page of a passport</string>
<string name="smart_capture_ozone_try_different_page_title">Try a different page</string>
<string name="smart_capture_ozone_try_different_page_body">If you are struggling to scan the NFC chip. Try scanning the front, middle, photo page or inner back pages of your document.</string>
<string name="smart_capture_ozone_start_scanning_text">Start scanning</string>
<string name="smart_capture_ozone_modal_alt_text">Image of a phone held up against an NFC logo.</string>
<string name="smart_capture_ozone_find_nfc_chip">Find NFC chip</string>
<string name="smart_capture_ozone_modal_help_text">Hold the middle of the document to the top of the phone.</string>
<string name="smart_capture_ozone_scanning">Scanning . . .</string>
<string name="smart_capture_ozone_hold_your_phone_and_document_still">Hold your phone and document still</string>
<string name="smart_capture_ozone_scan_success">Scan success!</string>
</resources>