You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
I am using @aws-amplify/ui-react-liveness which provide FaceLivenessDetector component. I have tested some testcase and one of these is faceliveness detect fail. When faceliveness check faill for a reason it will toast a Toast Message that includes message and a Try Again button!.
I have read about the onError props and log to the console as well as handle the error exception. But for improve users experience. I want to handle error when user click on the Try Again! button. How can i catch event onClick at the Try Again! button?
Steps to reproduce the issue
Create a Faceliveness session
Use FaceLivenessDetector component for streaming video
Intentionally fail the FaceLiveness. For example ( stream video with multiple face, not bring face close to camera, etc ) just anything that fail the Faceliveness check.
=> After that the Try Again! button will appear, and i want to catch the event of user when click on it!
App logs: any faceliveness fail logs
Amplify library using: I am using React, it's @aws-amplify/ui-react-liveness": "^2.0.9
The Amplify library version: "aws-amplify": "^5.3.11"
Please describe a solution you'd like.
Catch the event when user click on the Try Again! button
We love contributors! Is this something you'd be interested in working on?
👋 I may be able to implement this feature request.
⚠️ This feature might incur a breaking change.
The text was updated successfully, but these errors were encountered:
calebpollman
changed the title
How to catch event from Try Again! button when using React FaceLivenessDetector component
[FR] - How to catch event from Try Again! button when using React FaceLivenessDetector component
Dec 1, 2023
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.
I am using @aws-amplify/ui-react-liveness which provide FaceLivenessDetector component. I have tested some testcase and one of these is faceliveness detect fail. When faceliveness check faill for a reason it will toast a Toast Message that includes message and a Try Again button!.
I have read about the onError props and log to the console as well as handle the error exception. But for improve users experience. I want to handle error when user click on the Try Again! button. How can i catch event onClick at the Try Again! button?
=> After that the Try Again! button will appear, and i want to catch the event of user when click on it!
Please describe a solution you'd like.
Catch the event when user click on the Try Again! button
We love contributors! Is this something you'd be interested in working on?
The text was updated successfully, but these errors were encountered: