Set app callout response for biometric identification #2741
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This is a small improvement to the biometric identification workflow using the app callout widget. Currently there is no indication of a successful identification (see image below) which makes it hard for the user to realize the outcome unless they move to the next question, which is when there is usually a text with the result. This PR sets the response of the identity callout to be the score of the biometric match.
![Screenshot_20240207-181240_CommCare](https://private-user-images.githubusercontent.com/19228119/303258728-a69df508-cb03-42fc-91fb-c62500f85ce9.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNTU5MzQsIm5iZiI6MTczOTM1NTYzNCwicGF0aCI6Ii8xOTIyODExOS8zMDMyNTg3MjgtYTY5ZGY1MDgtY2IwMy00MmZjLTkxZmItYzYyNTAwZjg1Y2U5LmpwZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDEwMjAzNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTFkMjZkOGYzNmZkZWJmNjY1OGVjYjEzNzkxYzhlMzhkMzAxMjU4MWJlYWI5YmJhYjU4YTBlZDY5YzczMzRiY2QmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.Of8bL17xoPXfjUNttLXxq7ksyGWhcV326-l3zDrSa-4)
Product Description
The new behaviour sets the response as:
![Screenshot_20240207-181902_CommCare](https://private-user-images.githubusercontent.com/19228119/303258894-864df766-0435-47e1-a81c-f9c350cf609e.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNTU5MzQsIm5iZiI6MTczOTM1NTYzNCwicGF0aCI6Ii8xOTIyODExOS8zMDMyNTg4OTQtODY0ZGY3NjYtMDQzNS00N2UxLWE4MWMtZjljMzUwY2Y2MDllLmpwZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDEwMjAzNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWM0YzE2OWExMDA5MmQ1YWEyNTVhNWNiN2FkMWYzZmEyMWYzNzU4ZTU4NGZkMTJlNGE0NjE5MGU5ZTQ0NTNmYzgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.nib-91ui2JMoZtaHG97OSyWvKghg-Mg4LhsJ0GLeDxo)
Safety Assurance