local_auth
Flutter plugin to allow local authentication via biometrics, passcode, pin, or pattern.
3.0.2
1000K downloads/mo
#38 most downloaded on pub.dev
flutter/packages
What this package is like to depend on
Last release 1 months ago
09 Jul 2026
Release timing varies
gaps range from 8 days to 1.2 years
Nearly every release is documented
notes for 59 of 59 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
62 releases · first in 2017
3 releases in the last 12 months
see the full history below
Release timeline
62 releases · Aug 2017 to Jul 2026Releases
latest 60 of 62-
3.0.209 Jul 2026Release notes
Open source →- Clarifies the
getAvailableBiometricsdocumentation regarding iOS permission requirements. - Updates minimum supported SDK version to Flutter 3.38/Dart 3.10.
- Clarifies the
-
3.0.125 Feb 2026Release notes
Open source →- Replaces platform-specific setup instructions with links to the relevant implementation package READMEs.
- Updates README to reflect currently supported OS versions for the latest
versions of the endorsed platform implementations.
- Applications built with older versions of Flutter will continue to use compatible versions of the platform implementations.
-
3.0.016 Oct 2025Release notes
Open source →- BREAKING CHANGES:
- Throws
LocalAuthExceptions rather thanPlatformExceptions for most failures cases, allowing structured error handling using the specificLocalAuthExceptionCodevalues. - Replaces
AuthenticationOptionsinauthenticatewith specific parameters.AuthenticationOptions.stickyAuthcorresponds topersistAcrossBackgrounding.AuthenticationOptions.useErrorDialogshas no replacement, as specific error-handling UI should be up to plugin clients to determine. Callers should use the new structured error codes to detect and handle failure modes that used to have native dialogs.
- Throws
- Updates minimum supported SDK version to Flutter 3.29/Dart 3.7.
- Updates README to reflect that Android older than API 24 and iOS older than 13.0 are no longer supported.
- BREAKING CHANGES:
-
2.3.006 Aug 2024 -
2.2.021 Feb 2024Release notes
Open source →- Switches endorsed iOS implementation to
local_auth_darwin.- Clients directly importing
local_auth_iosfor auth strings should switch dependencies and imports tolocal_auth_darwin. No other change is necessary.
- Clients directly importing
- Updates support matrix in README to indicate that iOS 11 is no longer supported.
- Updates minimum supported SDK version to Flutter 3.16.6.
- Switches endorsed iOS implementation to
-
2.1.809 Jan 2024 -
2.1.730 Aug 2023Release notes
Open source →- Adds pub topics to package metadata.
- Updates minimum supported SDK version to Flutter 3.7/Dart 2.19.
- Aligns Dart and Flutter SDK constraints.
- Fixes stale ignore: prefer_const_constructors.
- Updates minimum supported SDK version to Flutter 3.10/Dart 3.0.
-
2.1.602 Mar 2023 -
2.1.522 Feb 2023 -
2.1.422 Feb 2023Release notes
Open source →- Updates minimum Flutter version to 3.0.
- Updates documentation for Android version 8 and below theme compatibility.
-
2.1.320 Dec 2022Release notes
Open source →- Updates minimum Flutter version to 2.10.
- Removes unused
intldependency.
-
2.1.209 Aug 2022 -
2.1.101 Aug 2022Release notes
Open source →- Replaces
USE_FINGERPRINTpermission withUSE_BIOMETRICin README and example project.
- Replaces
-
2.1.019 May 2022 -
2.0.210 May 2022Release notes
Open source →- Fixes library_private_types_in_public_api, sort_child_properties_last and use_key_in_widget_constructors lint warnings.
-
2.0.107 May 2022Release notes
Open source →- Restores the ability to import
error_codes.dart. - Updates README to match API changes in 2.0, and to improve clarity in general.
- Removes unnecessary imports.
- Restores the ability to import
-
2.0.014 Apr 2022Release notes
Open source →-
Migrates plugin to federated architecture.
-
Adds OS version support information to README.
-
BREAKING CHANGE: Deprecated method
authenticateWithBiometricshas been removed. Useauthenticateinstead. -
BREAKING CHANGE: Enum
BiometricTypehas been expanded with options forstrongandweak, and applications should be updated to handle these accordingly. -
BREAKING CHANGE: Parameters of
authenticatehave been changed.Example:
// Old way of calling `authenticate`. Future<bool> authenticate( localizedReason: 'localized reason', useErrorDialogs: true, stickyAuth: false, androidAuthStrings: const AndroidAuthMessages(), iOSAuthStrings: const IOSAuthMessages(), sensitiveTransaction: true, biometricOnly: false, ); // New way of calling `authenticate`. Future<bool> authenticate( localizedReason: 'localized reason', authMessages: const <AuthMessages>[ IOSAuthMessages(), AndroidAuthMessages() ], options: const AuthenticationOptions( useErrorDialogs: true, stickyAuth: false, sensitiveTransaction: true, biometricOnly: false, ), );
-
-
1.1.1116 Feb 2022Release notes
Open source →- Adds support
localizedFallbackTitlein authenticateWithBiometrics on iOS.
- Adds support
-
1.1.1010 Jan 2022 -
1.1.913 Dec 2021Release notes
Open source →- Updates code for analysis option changes.
- Updates Android compileSdkVersion to 31.
-
1.1.817 Sep 2021Release notes
Open source →- Update minimum Flutter SDK to 2.5 and iOS deployment target to 9.0.
- Updated Android lint settings.
-
1.1.702 Sep 2021 -
1.1.627 May 2021 -
1.1.522 Apr 2021 -
1.1.409 Apr 2021Release notes
Open source →- Add debug assertion that
localizedReasoninLocalAuthentication.authenticateWithBiometricsmust not be empty.
- Add debug assertion that
-
1.1.306 Apr 2021 -
1.1.202 Apr 2021 -
1.1.130 Mar 2021Release notes
Open source →- Update flutter_plugin_android_lifecycle dependency to 2.0.1 to fix an R8 issue on some versions.
-
1.1.023 Feb 2021Release notes
Open source →- Migrate to null safety.
- Allow pin, passcode, and pattern authentication with
authenticatemethod. - Fix incorrect error handling switch case fallthrough.
- Update README for Android Integration.
- Update the example app: remove the deprecated
RaisedButtonandFlatButtonwidgets. - Fix outdated links across a number of markdown files (#3276).
- Breaking change. Parameter names refactored to use the generic
biometricprefix in place offingerprintin theAndroidAuthMessagesclassfingerprintHintis nowbiometricHintfingerprintNotRecognizedis nowbiometricNotRecognizedfingerprintSuccessis nowbiometricSuccessfingerprintRequiredTitleis nowbiometricRequiredTitle
-
1.1.0-nullsafety15 Jan 2021 pre-releaseNothing published for this version
-
1.0.0-nullsafety.401 Feb 2021 pre-releaseNothing published for this version
-
1.0.0-nullsafety.313 Jan 2021 pre-releaseNothing published for this version
-
0.6.318 Aug 2020Release notes
Open source →- Increase upper range of
package:platformconstraint to allow 3.X versions.
- Increase upper range of
-
0.6.3+122 Aug 2020 -
0.6.3+223 Sep 2020 -
0.6.3+314 Oct 2020 -
0.6.3+403 Nov 2020 -
0.6.221 Apr 2020Release notes
Open source →- Remove Android dependencies fallback.
- Require Flutter SDK 1.12.13+hotfix.5 or greater.
- Fix block implicitly retains 'self' warning.
-
0.6.2+121 Apr 2020 -
0.6.2+212 May 2020 -
0.6.2+321 May 2020 -
0.6.125 Nov 2019 -
0.6.1+320 Feb 2020 -
0.6.012 Sep 2019Release notes
Open source →- Define a new parameter for signaling that the transaction is sensitive.
- Up the biometric version to beta01.
- Handle no device credential error.
-
0.6.0+126 Sep 2019Release notes
Open source →- Update the
intlconstraint to ">=0.15.1 <0.17.0" (0.16.0 isn't really a breaking change).
- Update the
-
0.5.312 Sep 2019 -
0.5.231 May 2019 -
0.5.2+204 Jun 2019Release notes
Open source →- Add missing template type parameter to
invokeMethodcalls. - Bump minimum Flutter version to 1.5.0.
- Replace invokeMethod with invokeMapMethod wherever necessary.
- Add missing template type parameter to
-
0.5.2+325 Jun 2019 -
0.5.2+413 Jul 2019 -
0.5.023 May 2019Release notes
Open source →- Breaking change. Update the Android API to use androidx Biometric package. This gives the prompt the updated Material look. However, it also requires the activity to be a FragmentActivity. Users can switch to FlutterFragmentActivity in their main app to migrate.
-
0.4.024 Jan 2019Release notes
Open source →- Breaking change. Migrate from the deprecated original Android Support Library to AndroidX. This shouldn't result in any functional changes, but it requires any Android apps using this plugin to also migrate if they're using the original support library.
-
0.4.0+108 Feb 2019Release notes
Open source →- Log a more detailed warning at build time about the previous AndroidX migration.
-
0.3.106 Jan 2019 -
0.3.018 Oct 2018Release notes
Open source →- Breaking change. Add canCheckBiometrics and getAvailableBiometrics which leads to a new API.
-
0.2.101 Jun 2018 -
0.2.009 Mar 2018 -
0.1.228 Feb 2018 -
0.1.112 Jan 2018Release notes
Open source →- Simplified and upgraded Android project template to Android SDK 27.
- Updated package description.
-
0.1.020 Dec 2017Release notes
Open source →- Breaking change. Upgraded to Gradle 4.1 and Android Studio Gradle plugin 3.0.1. Older Flutter projects need to upgrade their Gradle setup as well in order to use this version of the plugin. Instructions can be found here.