better_local_auth 0.0.4
better_local_auth: ^0.0.4 copied to clipboard
Enhanced local authentication plugin for biometrics with required cryptoObject support for Android security compliance.
Changelog #
0.0.1 #
Initial release of better_local_auth package.
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
0.0.2 #
bugfix
0.0.3 #
bugfix
0.0.4 #
bugfix