Simprints Documentation
  • Introduction
    • Goals
    • Audience
    • Disclaimer
  • Product Overview
    • Product Overview
      • Simprints ID (SID)
        • Enrolment
        • Verification
        • Indentification
      • Biometrics
        • Fingerprints Recognition
          • Vero Fingerprint Scanners
        • Face Recognition
      • SID Intents Launcher
      • Cloud Backend
      • Data Collection Platforms
        • DHIS2
        • CommCare
        • ODK + Survey CTO
  • Architecture
    • System architecture
      • Mobile
        • Simprints ID (SID)
          • Project structure
          • Biometric flow orchestration
  • Installation
    • Installation, Quick Start and Device Requirements
      • Installation
      • Quick Start Guide
      • Device Requirements
  • Security & Privacy
    • Security & Privacy Considerations
      • Security Policy
      • Responsible Use
      • Privacy Policy
      • Cookie Policy
  • Development
    • Getting setup
    • Simprints for Developers
      • Simprints for Developers
      • Integrating with Simprints
        • Getting Started
        • Enrollment
        • Identification
        • Verification
        • Exit Forms
        • Confidence Score Bands
        • Enrolment & Identification +
        • Handling Errors
        • Metadata
      • Other Intergrations
        • ODK Integrations + SurveyCTO
          • Enrol
          • Identify
          • Verify
          • FAQ
        • CommCare Integration
          • CommCare: Enrolment
          • Identification
          • FAQs
          • ↔️CoSync
        • DHIS2
  • Troubleshooting
    • FAQs
    • Common Issues
  • Community & Support
    • Support Channels
    • Community Guidelines
    • Open Source Contributions
  • Product Roadmap
    • Product Roadmap
      • Current Releases
      • Previous Releases
      • Submit an Idea or Request
  • Licence
  • Contribution Guidelines
    • Contribution Guidelines
      • Code Contributions
      • Bug Reports
      • Feature Requests
  • Supporting Partners
Powered by GitBook
LogoLogo
On this page

Was this helpful?

Edit on GitHub
  1. Development
  2. Simprints for Developers
  3. Integrating with Simprints

Exit Forms

PreviousVerificationNextConfidence Score Bands

Last updated 8 months ago

Was this helpful?

What is an Exit Form?

An exit form is a form presented to the user to capture reasons for ending a biometric capture before completion. This form is triggered if the user presses the Android back button in the middle of the flow. This can be due to:

  • the person to be captured not being present

  • the person refusing consent for personal reasons

  • technical reasons like Bluetooth or device malfunction

The form contains general reasons for the exit early, as well as a custom message box to indicate other reasons not specified. Whenever an exit occurs, the reason for the exit is available to the calling application and the values can be extracted for use within the calling application.

If you would like to get the exit form data that is sent back to inform your workflow when handling the result of a workflow, you can get the RefusalForm object with the properties:

  • reason - indicates the reason for exiting the workflow

  • extra - indicates any extra message


val simprintsLauncher = registerForActivityResult(SimprintsContract()) { response ->
    
    if (response.resultCode != Activity.RESULT_OK) {
        // check-out Handling Errors page for reference
    }
    
    if (response.refusalForm != null) {
        val reason = response.refusalForm.reason
        val extra = response.refusalForm.extra
    }

    // Handle response data
}

These are the reasons that Simprints ID can return:

  • REFUSED_RELIGION - returned when the biometric capture was refused due to religious concerns

  • REFUSED_DATA_CONCERNS - returned when the biometric capture was refused due to personal data concerns

  • REFUSED_PERMISSION - returned when the beneficiary refuses permissions for biometric capture

  • SCANNER_NOT_WORKING - returned when the fingerprint scanner is not working

  • APP_NOT_WORKING - returned when SID app stops working during biometric capture

  • REFUSED_NOT_PRESENT - returned when the beneficiary to be captured is not present themselves

  • REFUSED_YOUNG - returned when the beneficiary to be captured is too young

  • WRONG_AGE_GROUP_SELECTED - returned when a wrong choice was made on the age selection screen

  • OTHER - returned when some other reason for refusal, has been provided.