Skip to content

App lock with system biometrics/PIN in Security settings - #51

Open
kerdx wants to merge 1 commit into
LucentW:mainfrom
kerdx:feat/app-lock-security
Open

kerdx wants to merge 1 commit into
LucentW:mainfrom
kerdx:feat/app-lock-security

Conversation

@kerdx

@kerdx kerdx commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

Adds a new Security section in Settings with an app lock based on the system BiometricPrompt (fingerprint/face or phone PIN/pattern/password). No in-app PIN: auth is fully delegated to the OS.

  • Toggle with confirmation auth on enable; error if the device has no screen lock
  • User-chosen re-lock timeout after background (Immediately / 1 / 5 / 15 min); cold start always locks (fail-closed while prefs load)
  • Optional FLAG_SECURE to hide the app preview in recents
  • Lock gate above the NavHost in AppRoot (deep-links/share stay pending until unlock); MainActivity is now a FragmentActivity (BiometricPrompt requirement)

Tested: assembleDebug builds, installed on device.

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.

1 participant