Quantcast
Channel: Active questions tagged react-native+android - Stack Overflow
Viewing all articles
Browse latest Browse all 29612

react native touch id - can't get the error of unmatched finger print

$
0
0

I am using the library React-native-touch-id and I wan't a specific behavior when the error is 'touch Faield'. This is the code:

TouchID.authenticate(---)        .then(success => {            //        })        .catch(error => {                console.log(error.details)            }        )

I actually want to catch this error 'finger print unrecognized' (see the picture)(but my console doesn't show anything unless I click on cancel/close the pop up then I get the 'FINGERPRINT_ERROR_CANCELED'.unrecongnized finger print

I saw in the library that there are multiple errors, like 'authentication_failed'.

I looked up in the issues and found that normally I can get the error when the finger print is wrong :https://github.com/naoufal/react-native-touch-id/issues/144 but it's not the case.

I know the library is not actively currently maintained now, I just want to know is someone faced the same issue.

Thank you.


Viewing all articles
Browse latest Browse all 29612

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>