react-native-fingerprint-scanner icon indicating copy to clipboard operation
react-native-fingerprint-scanner copied to clipboard

React Native Fingerprint Scanner.authenticate got 2 arguments, expected 6

Open sam9010 opened this issue 3 years ago • 3 comments

i have an error this error: photo_2020-10-26_15-13-09

my code like sample of this library FingerprintScanner .authenticate({ onAttempt: this.handleAuthenticationAttemptedLegacy }) .then(() => { this.props.handlePopupDismissedLegacy(); Alert.alert('Fingerprint Authentication', 'Authenticated successfully'); }) .catch((error) => { this.setState({ errorMessageLegacy: error.message, biometricLegacy: error.biometric }); this.description.shake(); });

sam9010 avatar Oct 26 '20 11:10 sam9010

I am also facing this issue, but only in the android device running on 5.1

Screenshot 2020-10-31 at 1 23 30 PM

sahil290791 avatar Oct 31 '20 07:10 sahil290791

i run it in my phone , its version android 5.01 it get error,

i think it is not run in android 5

sam9010 avatar Nov 01 '20 12:11 sam9010

Yes happened with us also, removed support fro fingerprint from 5.1 devices to make it stop, couldn't find what was wrong in code

ANIBIT14 avatar Nov 12 '20 04:11 ANIBIT14