How to handle "Cancel" in TouchID

I just want to move to another page if Cancel is clicked

Is it possible? if possible please share the solution

I catch it in an async / await try block:

try {
                // if touch is available
                const isTouchAvailable = await this.touchId.isAvailable();

            } catch (error) {
                // touch not available or cancelled
           
            }

Thanks for the answer @richardshergold

I got another problem too, can we handle “Enter Password” button which automatically direct’s to mobile pin screen?

I tried “verifyFingerprintWithCustomPasswordFallbackAndEnterPasswordLabel(message, enterPasswordLabel)” this but it only changes text but not handling the fuction of that button.

If am not going to handle these two buttons then using touchID will make bugs.

Please help me out if you the solution.