FLUTTER ECOSYSTEM

local_auth

Flutter plugin to allow local authentication via biometrics, passcode, pin, or pattern.

Latest version
3.0.1
30-day downloads
883.4K
Likes
3.3K
Pub points
160

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Overview

The local_auth package provides a Flutter plugin for secure local authentication using biometrics (fingerprint, face recognition), passcode, PIN, or pattern. It enables apps to verify user identity directly on the device without relying on external servers. The plugin integrates with native authentication APIs on Android, iOS, macOS, and Windows, ensuring platform-specific security practices are followed. It supports both authentication and biometric availability checks, making it ideal for sensitive operations like login, payment confirmation, or data access. The package is designed for simplicity and consistency across platforms.

Use cases
  • Secure app login
  • Payment confirmation
  • Accessing sensitive data
  • User identity verification
  • Two-factor authentication
Key features
  • Biometric authentication support
  • Passcode/PIN/pattern fallback
  • Platform-native security
  • Authentication status checking
  • Cross-platform compatibility
Suitable for
  • Apps requiring secure user verification
  • Financial or health-related applications
  • Privacy-focused software
  • Mobile-first applications
  • Enterprise-grade authentication
Considerations
  • Requires device-level biometric hardware
  • Limited to local device authentication
  • No cloud-based sync
  • Permissions must be handled explicitly
  • Not suitable for remote authentication
Supported platformsAndroidiOSmacOSWindows

Install package

flutter pub add local_auth

Categories

Source repository

Related projects

Rankings