Skip to main content

Customization

Currently the only officially supported customization is localization. See Theme for additional info about customizing.

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>

<!-- Landing Screen -->
<string name="smart_capture_ozone_landing_title">Scan your ID</string>
<string name="smart_capture_ozone_landing_body">Your ID has a chip with the same info as what’s printed. To verify it accurately, we’ll use your phone’s NFC to read the chip.</string>
<string name="smart_capture_ozone_continue_text">Continue</string>
<string name="smart_capture_ozone_end_identity_check">End identity check</string>

<!-- Guidance Carousel -->
<string name="smart_capture_ozone_guidance_scan_document_title">Scan the document</string>
<string name="smart_capture_ozone_guidance_scan_document_body">Place the device at the center of the document, slide up and down, then hold still when dots appear.</string>
<string name="smart_capture_ozone_guidance_remove_covers_title">Remove covers</string>
<string name="smart_capture_ozone_guidance_remove_covers_body">Take off any sleeves or cases.</string>
<string name="smart_capture_ozone_guidance_try_different_pages_title">Try different pages</string>
<string name="smart_capture_ozone_guidance_try_different_pages_body">If you struggle to scan, try scanning different pages.</string>
<string name="smart_capture_ozone_start_scanning_text">Start scanning</string>

<!-- Control Content Descriptions -->
<string name="smart_capture_ozone_back_content_description">Back</string>
<string name="smart_capture_ozone_previous_tip_content_description">Previous tip</string>
<string name="smart_capture_ozone_next_tip_content_description">Next tip</string>
<string name="smart_capture_ozone_tip_position">Tip %1$d of %2$d</string>

<!-- Progress Modal -->
<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>