0

I have an issue with Flutter local_auth 2.1.2,

_auth.authenticate(
        localizedReason: 'Scan Fingerprint to Authenticate',
        options: const AuthenticationOptions(
          stickyAuth: true,
          useErrorDialogs: true,
          biometricOnly: false,
        ),

this is the setting i made with local_auth, for the first time i use it, it work perfectly fine, when the devices doest have any device secuirty yet(fingerprint/patter/pin/password), the dialog will pop up for the user to set a new security. but after i remove security and wanted to test it again. it wont pop up the dialog.

dialog

can anyone help me with this. Thank you.

i have terminate the apps and run again, restart the emulator a few time. When i want to use the fingerprint authenicate. the error just print (NotAvailable, Required security features not enabled, null, null)

0 Answers0