Skip to content

Mobile: Biometric auth (Face ID / fingerprint) for app lock#77

Merged
brianorwhatever merged 2 commits intomainfrom
mobile/biometric-auth
Feb 8, 2026
Merged

Mobile: Biometric auth (Face ID / fingerprint) for app lock#77
brianorwhatever merged 2 commits intomainfrom
mobile/biometric-auth

Conversation

@krusty-agent
Copy link
Copy Markdown
Collaborator

Summary

Implements biometric authentication (Face ID / Fingerprint) for app lock functionality on mobile devices.

Changes

  • ✅ Installed capacitor-native-biometric plugin
  • ✅ Created biometrics service abstraction (src/lib/biometrics.ts)
  • ✅ Added "App Lock" toggle in Settings under Security section
  • ✅ Created AppLockGuard component for startup authentication
  • ✅ Updated storage utilities for biometric lock preference
  • ✅ Synced Capacitor native projects (Android & iOS)

How it works

  1. Users can enable "App Lock" in Settings → Security
  2. When enabled, the app requires Face ID or fingerprint authentication on startup
  3. Falls back gracefully on web (always allows access)
  4. Native biometric prompts use platform-specific UI (Face ID on iOS, fingerprint on Android)

Testing

  • Build verified: npm run build
  • TypeScript compiles without errors
  • Capacitor sync completed for both Android and iOS

Note: Actual biometric testing requires running on a physical device or simulator with biometrics enrolled.

krusty-agent and others added 2 commits February 8, 2026 02:06
- Install capacitor-native-biometric plugin
- Create biometrics service abstraction (src/lib/biometrics.ts)
- Add app lock toggle in Settings (requires Face ID/fingerprint)
- Create AppLockGuard component for startup authentication
- Update storage utilities for biometric lock preference
- Sync Capacitor native projects (Android & iOS)

When enabled, users must authenticate with Face ID or fingerprint
to unlock the app on startup. Falls back gracefully on web.
@brianorwhatever brianorwhatever merged commit b503717 into main Feb 8, 2026
1 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants