PackageTrack
Sign in Get early access

auth_grace

Smart biometric auth with grace period. Skips prompt if phone was recently unlocked.

0.0.6 vijayrockers/auth_grace

What this package is like to depend on

Last release 4 months ago

13 Apr 2026

Too new to tell

only 1 release windows

Nearly every release is documented

notes for 6 of 6 stable releases

Nothing withdrawn

no release was ever pulled

4 months old

6 releases · first in 2026

6 releases in the last 12 months

see the full history below

Release timeline

6 releases · Apr 2026 to Apr 2026
Release Pre-release

Releases

latest 6
  1. 0.0.6 13 Apr 2026
    Release notes

    Merge pull request #5 from vijayrockers/0.0.6

    0.0.6

    Open source →
    Release notes
    • Added persistAcrossBackgrounding option to AuthGraceOptions — controls whether the biometric prompt stays visible when the app is backgrounded mid-auth. Defaults to true.
    • Added 28 unit tests covering AuthGraceOptions, AuthResult, AuthGrace constructor, init(), authenticate(), isWithinGracePeriod(), isHardwareBacked(), and reset().
    • Added integration tests (integration_test/) for native Keystore/Keychain calls — runs on real device or emulator without triggering the biometric prompt.
    • README: Added ## Security model section — documents what the package protects against, known limitations, and appropriate vs. inappropriate use cases.
    • README: Demo GIF is now centered and resized for better readability.
    Open source →
  2. 0.0.5 12 Apr 2026
    Release notes
    • Fix: Example app now included in published package so pub.dev awards the example score point.
    • Fix: Dart formatting applied to lib/src/auth_grace_base.dart to pass static analysis on pub.dev.
    • Added demo GIF to README.
    Open source →
  3. 0.0.4 12 Apr 2026
    Release notes
    • Fix: README demo GIF now renders correctly on pub.dev.
    Open source →
  4. 0.0.3 12 Apr 2026
    Release notes
    • Fix: init() now always regenerates the Keystore key so changes to gracePeriodSeconds take effect immediately without requiring a reinstall.
    • Fix: Grace period countdown is now driven by isWithinGracePeriod() polled every second — locks exactly when the Keystore expires, not based on a drifting Dart timer.
    • Fix: gracePeriodActive (device-unlock grace) now shows the countdown timer in the example app.
    • Example: Added circular countdown UI showing remaining grace window in seconds, turns orange at 2 seconds remaining.
    • Example: Grace period timer auto-locks the UI when expired — no automatic re-prompt.
    Open source →
  5. 0.0.2 11 Apr 2026
    Release notes
    • Fix: Updated authenticate() call for local_auth 3.x API — AuthenticationOptions replaced with flat parameters (biometricOnly, persistAcrossBackgrounding).
    • allowDeviceCredential: false now correctly maps to biometricOnly: true in the prompt.
    • Added pub.dev topic tags: authentication, biometrics, security, local-auth.
    • Raised minimum Dart SDK constraint to >=3.9.0 to align with flutter_lints ^6.0.0.
    • Upgraded flutter_lints to ^6.0.0 — zero lint issues.
    • Fix: LocalAuthException codes now map to correct AuthStatus instead of always returning AuthStatus.error.
      • noCredentialsSet, noBiometricsEnrolled, noBiometricHardwareAuthStatus.notAvailable.
      • userCanceled, timeout, systemCanceled, userRequestedFallbackAuthStatus.failed.
      • All other codes (lockout, device error, etc.) remain AuthStatus.error.
    Open source →
  6. 0.0.1 08 Apr 2026
    Release notes
    • 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 alwaysRequire mode for payment confirmation flows.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive