amplify-ui icon indicating copy to clipboard operation
amplify-ui copied to clipboard

Pass deviceId in and out of liveness check

Open jasonfill opened this issue 5 months ago • 1 comments

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.

jasonfill avatar Jun 14 '25 12:06 jasonfill

Hello @jasonfill, we're looking into this and will get back to you as soon as we have an update

ahmedhamouda78 avatar Jun 16 '25 15:06 ahmedhamouda78

@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 avatar Jun 22 '25 11:06 jasonfill

@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.

adrianjoshua-strutt avatar Jun 26 '25 14:06 adrianjoshua-strutt

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!

jasonfill avatar Jul 28 '25 16:07 jasonfill

Thanks again for your effort to contribute to Amplify libraries. We're actively looking into the PR.

Simone319 avatar Jul 30 '25 12:07 Simone319

@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!

jasonfill avatar Aug 05 '25 13:08 jasonfill

Hi @jasonfill,

thank you for addressing the PR review items. I will add the necessary next steps to the PR.

Thanks!

adrianjoshua-strutt avatar Aug 12 '25 15:08 adrianjoshua-strutt