better_local_auth
Enhanced local authentication plugin for biometrics with required cryptoObject support for Android security compliance.
0.0.6
What this package is like to depend on
Last release 3 months ago
24 May 2026
Too new to tell
only 2 release windows
Nearly every release is documented
notes for 6 of 6 stable releases
Nothing withdrawn
no release was ever pulled
3 months old
6 releases · first in 2026
6 releases in the last 12 months
see the full history below
Release timeline
6 releases · May 2026 to May 2026Releases
latest 6-
0.0.624 May 2026Release notes
Open source →Standard API Compatibility Restored
- Android Compatibility Align: Restored full contract compatibility with the official
local_authpackage on Android. Removed custom mappings inBetterLocalAuth.java, returning raw"weak"and"strong"biometric capabilities directly over the platform channel. - Dart Platform Translation: Updated
default_method_channel_platform.dartto support translating'weak'and'strong'types back toBiometricType.weakandBiometricType.strongin Dart. This perfectly restores the official package behavior and prevents custom app checks (that rely on the original API contract) from breaking.
- Android Compatibility Align: Restored full contract compatibility with the official
-
0.0.524 May 2026Release notes
Open source →Security & Architecture Upgrades
- Android Refactor: Replaced complex reflection for setting the negative button in
AuthenticationHelper.javawith a clean direct call to the native API using standardDialogInterface.OnClickListenerlambdas and@RequiresApiannotations. - Android Bugfix: Fixed a crucial mapping bug in
BetterLocalAuth.javawhere"strong"biometrics (like secure fingerprints) were mapped to"face"and"weak"biometrics were mapped to"fingerprint". Strong fingerprint devices now correctly returnBiometricType.fingerprintand show the correct fingerprint icons in the Dart UI. - iOS Secure Enclave Integration: Upgraded
KeychainHelper.storeInKeychain(...)inBetterLocalAuth.swiftto enforce hardware-protectedSecAccessControlwith.biometryAnyfor high-securityThisDeviceOnlykeychain profiles. This protects against client-side dynamic attacks (like Frida hooks) by locking the secure token directly inside the Apple Secure Enclave. - Hardened Cryptography: Removed insecure, software-only in-memory RSA keypair fallbacks in
AuthenticationHelper.java. The package now safely fails-fast if hardware-backed TEE key generation fails, removing potential bypass backdoors.
- Android Refactor: Replaced complex reflection for setting the negative button in
-
0.0.415 May 2026 -
0.0.315 May 2026 -
0.0.215 May 2026 -
0.0.114 May 2026Release notes
Open source →Initial release of
better_local_authpackage.Features
- Forked from
local_auth-3.0.1with enhanced security features - Required
cryptoObjectparameter for Android authentication - Required
keychainOptionsparameter for iOS authentication - Consolidated platform implementations into single package
- Removed support for Windows, Web, Linux, and macOS platforms
- Added
BetterLocalAuthenticationclass with enhanced API - Added migration helper utilities
- Comprehensive documentation and migration guide
Breaking Changes from local_auth-3.0.1
- Android:
cryptoObjectparameter is now required for allauthenticate()calls - iOS:
keychainOptionsparameter is now required for allauthenticate()calls - Platform Support: Windows, Web, Linux, and macOS platforms are no longer supported
- AuthenticationOptions: Now requires
cryptoObjectandkeychainOptionsparameters
New Features
BetterLocalAuthenticationclass with factory methods for crypto objectsauthenticateEnhanced()method returningAuthResultwith detailed informationMigrationHelperutilities for analyzing and migrating fromlocal_auth- Enhanced error types for crypto and keychain operations
- Comprehensive example application
Security Improvements
- Android authentication now requires cryptographic operations
- iOS authentication integrates with Keychain for secure storage
- Prevents security warnings from static analysis tools like Ostorlab
- Hardware-backed security on both platforms
Documentation
- Comprehensive README with usage examples
- API reference documentation
- Migration guide from
local_auth - Troubleshooting guide
- Example application with all features demonstrated
- Forked from