问题描述
我想使用指纹识别器进行登录 首先,我使用该库在登录时使用指纹
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 (将#修改为@)