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

Selphi - Component 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="selphi_component_timeout_title">Timeout</string>
    <string name="selphi_component_timeout_desc">We were unable to identify you. Please try again.</string>
    <string name="selphi_component_internal_error_title">There was a technical problem</string>
    <string name="selphi_component_internal_error_desc">We apologize. The capture could not be completed</string>
    <!-- Previous Tip -->
    <string name="selphi_component_tip_message">Place your face in the center of the circle</string>
    <string name="selphi_component_tip_message_alt">Place your face in the center of the circle</string>
    <string name="selphi_component_tip_anim_desc">A person shows their face inside the circle and the app takes a photo.</string>
    <string name="selphi_component_tip_title">Facial Recognition</string>
    <string name="selphi_component_tip_button">Start</string>
    <string name="selphi_component_tip_button_alt">Start face capture</string>
    <string name="selphi_component_tip_move_message">Place your face in the center of the circle and follow the instructions</string>
    <string name="selphi_component_tip_move_message_alt">Place your face in the center of the circle and follow the instructions</string>
    <string name="selphi_component_tip_move_anim_desc">A person shows their face inside the circle, moves it slightly to one side, and the app takes a photo.</string>
    <string name="selphi_component_tip_move_title">Facial Recognition</string>
    <string name="selphi_component_tip_move_button">Start</string>
    <string name="selphi_component_qr_tip_title">Scan the QR Code</string>
    <string name="selphi_component_qr_tip_message">Center the QR Code inside the frame</string>
    <string name="selphi_component_qr_tip_anim_desc">Center the QR Code inside the frame</string>
    <string name="selphi_component_qr_tip_button">Start</string>
    <string name="selphi_component_tip_close_button_alt">Back</string>
    <string name="selphi_component_tip_info_button_alt">View tips</string>
    <!-- Tutorial -->
    <string name="selphi_component_tutorial_message_1">Place your face in the center and look directly at the camera.</string>
    <string name="selphi_component_tutorial_message_2">Remove anything covering your face.</string>
    <string name="selphi_component_tutorial_message_3">Look for a well-lit environment, without shadows on your face.</string>
    <string name="selphi_component_tutorial_message_1_anim_desc">The photo is taken when the person is in the center.</string>
    <string name="selphi_component_tutorial_message_2_anim_desc">A person removes their sunglasses and brushes their hair away from their eyes.</string>
    <string name="selphi_component_tutorial_message_3_anim_desc">The image appears dark and a person turns on the light.</string>
    <string name="selphi_component_tutorial_close_button_alt">Back to 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