local_auth_darwin
2.0.5, released 5 weeks ago by flutter.dev
iOS/macOS implementation of the local_auth plugin
What it does
Provides biometric authentication on iOS and macOS, exposing the same APIs as the platform‑agnostic local_auth package.
AI-written summary of version 2.0.5, based on the package's README and metadata. Report an inaccuracy
Use it when
- need Face ID or Touch ID authentication
- building a cross‑platform app that already uses local_auth
Skip it when
- targeting Android or Windows only
Strengths
- officially endorsed, automatically included when using local_auth
- keeps SDK requirements up to date
- no extra pubspec entry needed for normal use
Weaknesses
- only supports iOS and macOS
- requires platform‑specific Info.plist entry
Setup
- Kind
- Plugin (native code)
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 3
Add <key>NSFaceIDUsageDescription</key> to Info.plist
Alternatives
Packages that do the same job and could replace local_auth_darwin.
- firebase_auth
Flutter plugin for Firebase Authentication enabling passwords, phone numbers, and identity providers.
99Compare - firebase_auth_web
Web implementation of Firebase Authentication for Flutter
85Compare - biometric_signature
Hardware‑backed biometric signatures and encryption for Flutter apps.
81Compare - extension_google_sign_in_as_googleapis_auth
Creates googleapis_auth AuthClient from GoogleSignIn credentials.
79Compare
Works with
Packages commonly used together with local_auth_darwin: ones it builds on, ones built on it, and its own family.
- intllocal_auth_darwin depends on itA Dart library for internationalization and localization, providing message translation, plural/gender handling, and date/number formatting.
- local_auth_androidSame familyAndroid implementation of the local_auth plugin for biometric authentication.
- local_auth_windowsSame familyWindows implementation of local_auth for biometric authentication
- local_authBuilt on local_auth_darwinFlutter plugin for on‑device authentication using biometrics, PIN, pattern or passcode.
- webauthnBuilt on local_auth_darwinA plugin implementing the WebAuthn authenticator model for generating Public Key Credentials