Uranus_ly
Uranus_ly

Reputation: 151

Is it not valid now the 'authenticateWithBiometrics' in local-auth plugin?

I'm using the plugin 'local-auth'. I got the source code that opens a dialog for fingerpring authentication. the method name is 'authenticateWithBiometrics' but it occures an error like this. => The method 'authenticateWithBiometrics' isn't defined for the type 'LocalAuthentication'.

Is there a replaceable method in the plug-in? then, please let me know. Thanks.

authenticated = await _localAuthentication.authenticateWithBiometrics(...)

Upvotes: 0

Views: 329

Answers (1)

La Pyae
La Pyae

Reputation: 509

authenticateWithBiometrics change with authenticate. It will work well.

Upvotes: 1

Related Questions