简体   繁体   中英

Flutter local_auth fingerprint authentication without dialog

I'm trying to implement fingerprint protection for an app using local_auth in Flutter. Here's the docs for local_auth .

I'm trying to implement the local_auth without any dialogs in the process. The docs do point to 'useErrorDialogs = false' to not use the default dialogs.

What I want to implement is a simple page wherein I can run the auth related stuff at initState() and be able to send the users to the next screen if it's valid or show an error message in the same screen without any popups if the auth was a failure.

Thank you.

Not possible at the moment. It is an open issue on flutter's github:

https://github.com/flutter/flutter/issues/30601

You can use this package. (flutter_local_auth_invisible)

https://pub.dev/packages/flutter_local_auth_invisible

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM