Bha*_*shi 10 android react-native face-id android-biometric-prompt
我正在我的应用程序中实施生物识别技术进行身份验证。我正在使用反应原生生物识别技术。每件事情都很好,只有一个卡住了。Face-id 不适用于 Android。我做了很多谷歌搜索,但无法找到满意的答案。甚至可以在Android中使用face-id吗?
Biometrics.isSensorAvailable()
.then((biometryType) => {
if (biometryType === Biometrics.TouchID) {
console.log('TouchID is supported')
} else if (biometryType === Biometrics.FaceID) {
console.log('FaceID is supported')
} else {
console.log('Biometrics not supported')
}
})
Run Code Online (Sandbox Code Playgroud)
即使我在手机中使用 FaceId,这也总是返回我的 TouchId。提前感谢您的帮助。
| 归档时间: |
|
| 查看次数: |
5106 次 |
| 最近记录: |