在 Flutter 中获取用户指纹详细信息

时间:2021-06-11 00:07:55

标签: android flutter biometrics

我有一个 android 应用程序,我想使用移动传感器获取用户的指纹,并通过我的 API 验证详细信息,而不是本地身份验证。怎样才能做到这一点?在 android 中,我只需要传感器来捕捉手指细节。

1 个答案:

答案 0 :(得分:0)

尝试使用这个包: https://pub.dev/packages/local_auth

 var localAuth = LocalAuthentication();
bool didAuthenticate =
    await localAuth.authenticate(
        localizedReason: 'Please authenticate to show account balance');