For the complete documentation index, see llms.txt. This page is also available as Markdown.

SelphID - Component Customization

In addition to the changes that can be made at the SDK level (which are explained in the Advanced settings document), this specific component allows its own customization.

Texts

If you want to modify the texts of the SDK, you should include the following XML file in the client's application, and modify the value of each String with the desired one.

    <!-- Diagnostic -->
    <string name="selphid_component_timeout_title">Timeout</string>
    <string name="selphid_component_timeout_desc">Check that the document is inside the frame and the data are visible.</string>
    <string name="selphid_component_internal_error_title">There was a technical problem</string>
    <string name="selphid_component_internal_error_desc">We apologize. The capture could not be completed</string>
    <!-- Previous Tip -->
    <string name="selphid_component_tip_message">&lt;b&gt; Focus&lt;/b&gt; your document&lt;b&gt; inside the frame.&lt;/b&gt; The photo will be taken automatically.</string>
    <string name="selphid_component_tip_message_alt">Focus your document inside the frame. The photo will be taken automatically.</string>
    <string name="selphid_component_tip_anim_id_desc">Place your Identity document horizontally, and point your phone vertically.</string>
    <string name="selphid_component_tip_anim_pass_desc">Place your Identity document horizontally, and point your phone vertically.</string>
    <string name="selphid_component_tip_title">Document photo</string>
    <string name="selphid_component_tip_button">Start</string>
    <string name="selphid_component_tip_button_alt">Start Document Capture</string>
    <string name="selphid_component_tip_close_button_alt">Back</string>
    <string name="selphid_component_tip_info_button_alt">View tips</string>
    <!-- Tutorial -->
    <string name="selphid_component_tutorial_message_1">Look for a background with good contrast.</string>
    <string name="selphid_component_tutorial_message_2">Place the document inside the frame.</string>
    <string name="selphid_component_tutorial_message_3">Avoid glare that makes the document hard to read.</string>
    <string name="selphid_component_tutorial_message_1_anim_id_desc">Place the document on a surface with a color different from the document.</string>
    <string name="selphid_component_tutorial_message_2_anim_id_desc">Place your Identity document horizontally, and point your phone vertically.</string>
    <string name="selphid_component_tutorial_message_3_anim_id_desc">Reflections appear on the document.</string>
    <string name="selphid_component_tutorial_message_1_anim_pass_desc">Place the document on a surface with a color different from the document.</string>
    <string name="selphid_component_tutorial_message_2_anim_pass_desc">Place your Identity document horizontally, and point your phone vertically.</string>
    <string name="selphid_component_tutorial_message_3_anim_pass_desc">Reflections appear on the document.</string>
    <string name="selphid_component_tutorial_close_button_alt">Back to the previous tutorial</string>

Animations

If you want to modify the SDK animations (lottie), you should include the animations with the same name in the application's res/raw/ folder.

Last updated