react-native-fingerprint-scanner
react-native-fingerprint-scanner copied to clipboard
React Native Fingerprint Scanner.authenticate got 2 arguments, expected 6
i have an error
this error:
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(); });
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](https://user-images.githubusercontent.com/7287280/97774304-89662700-1b7c-11eb-9dcb-19cfcffabb84.png)
i run it in my phone , its version android 5.01 it get error,
i think it is not run in android 5
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