auth_grace 0.0.2
auth_grace: ^0.0.2 copied to clipboard
Smart biometric auth with grace period. Skips prompt if phone was recently unlocked.
0.0.2 #
- Fix: Updated
authenticate()call forlocal_auth3.x API —AuthenticationOptionsreplaced with flat parameters (biometricOnly,persistAcrossBackgrounding). allowDeviceCredential: falsenow correctly maps tobiometricOnly: truein the prompt.- Added pub.dev topic tags:
authentication,biometrics,security,local-auth. - Raised minimum Dart SDK constraint to
>=3.9.0to align withflutter_lints ^6.0.0. - Upgraded
flutter_lintsto^6.0.0— zero lint issues. - Fix:
LocalAuthExceptioncodes now map to correctAuthStatusinstead of always returningAuthStatus.error.noCredentialsSet,noBiometricsEnrolled,noBiometricHardware→AuthStatus.notAvailable.userCanceled,timeout,systemCanceled,userRequestedFallback→AuthStatus.failed.- All other codes (lockout, device error, etc.) remain
AuthStatus.error.
0.0.1 #
- Initial release.
- Smart biometric authentication with automatic grace period.
- Android implementation using Keystore with time-bound keys.
- iOS implementation using Keychain timestamp tracking.
- Support for
alwaysRequiremode for payment confirmation flows.