amplify-ui
amplify-ui copied to clipboard
Pass deviceId in and out of liveness check
On which framework/platform would you like to see this feature implemented?
React
Which UI component is this feature-request for?
Liveness
Please describe your feature-request in detail.
We are incorporating the liveness check into our user onboarding flow. Earlier in our flow, we allow the user to select the camera they would like to use (we use it for a different purpose in the flow). We want to send that deviceId/Info into the liveness check as the default option for them, so they do not have to select a different camera. Additionally, if they choose a different camera during liveness (perhaps due to lighting concerns) after validation via the liveness check, we would like to pass the selected device information to our app so it can use that as the set camera going forward.
Please describe a solution you'd like.
No response
We love contributors! Is this something you'd be interested in working on?
- [x] 👋 I may be able to implement this feature request.
- [ ] ⚠️ This feature might incur a breaking change.
Hello @jasonfill, we're looking into this and will get back to you as soon as we have an update
@ahmedhamouda78 Our team has discussed this further, and we will be using this interface for the entire camera selection process. This is because we want to ensure that we run them through liveness checks if they change their camera settings. This feature could be amended to pass out the camera information that was selected.
Our team can also implement this and create a PR.
@jasonfill Thank you for offering to implement this feature and create a PR for it. User contributions are always appreciated. Please use this ticket to update us on the progress.
A member of our team has submitted a PR for this. I look forward to having it reviewed and hopefully incorporated into the library. Thanks!
Thanks again for your effort to contribute to Amplify libraries. We're actively looking into the PR.
@Simone319, I am curious if there is anything we can do to assist with the review of this PR to have it rolled in. We are looking forward to using this new feature to build out our identity solution.
Thanks!
Hi @jasonfill,
thank you for addressing the PR review items. I will add the necessary next steps to the PR.
Thanks!