如何解决React Native Fingerprint Scanner.authenticate得到2个参数,预期为6
我想使用指纹识别器进行登录 首先,我使用该库在登录时使用指纹
https://github.com/hieuvp/react-native-fingerprint-scanner
我有一个错误
这个错误是
React Native Fingerprint Scanner.authenticate得到2个参数,预期为6
我的代码就像该库的示例一样
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();
});
最后
如果您使用的库库超过此库 请给我
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。