talira

local_auth

Flutter plugin for local authentication with biometrics, passcode, PIN or pattern

open sourceBSD-3-Clausefree

local_auth is the Flutter team's plugin for on-device user authentication: biometrics such as fingerprint or face recognition where the device supports them, or the device's passcode, PIN or pattern. An app checks whether the device can authenticate and which biometrics are enrolled, then asks the user to authenticate. It supports Android (SDK 24+), iOS 13+, macOS 10.15+ and Windows 10+, and is published on pub.dev from the flutter/packages repository.

Problems it solves

  • let users unlock my Flutter app with Face ID or a fingerprint
  • ask for the device PIN or passcode before showing sensitive data in a Flutter app
  • check which biometrics are enrolled on the phone from Flutter

Features

  • biometric authentication: fingerprint and face
  • falls back to device passcode, PIN or pattern
  • checks device support and enrolled biometrics
  • Android, iOS, macOS and Windows

Alternatives

The same job

These do what local_auth does.

  1. Flutter Packages Flutter's first-party packages and plugins, maintained by the Flutter team
  2. flutter_secure_storage Flutter plugin that stores secrets in each platform's secure storage

Compare local_auth with the top 3