Security & identity
Plugin.Maui.AppLock
Lock the app after background — Face ID, PIN, timer
Current NuGet 1.0.7
Application-security workflow for MAUI: lock timer, lifecycle, and gate. Face ID, Touch ID, fingerprint, and device PIN are how the user unlocks — they are not the product.
Install
dotnet add package Plugin.Maui.AppLockPackage ID: Plugin.Maui.AppLock
Plugin.Maui.* restores from GitHub Packages. Add the org feed first — see Use nuvyntralabs GitHub Packages from a C# project.
Overview
Plugin.Maui.AppLock is an application-security workflow for MAUI on Android and iOS. It is not another biometric API. Biometric plugins prove who the user is. AppLock owns the lock timer, lifecycle, and gate: app enters background, lock timer elapses, app returns, authentication, unlock. Face ID, Touch ID, fingerprint, and the device PIN are how the user unlocks.
Current release
- 1.0.7. Current nuget.org pack.
- 1.0.6. Android library AAR includes a resource so project-reference sample builds succeed.
- If the automatic resume prompt throws, AuthenticationCompleted still fires with a failed result so the cover stays up.
Full upgrade map for the 3 September 2026 hardening wave: Hardened plugin releases.
Capabilities
- Configurable lock timer after background.
- Biometric and device-PIN unlock.
- RequireAuthenticationAsync gate for sensitive screens.
- Privacy cover while the app is locked.
- AuthenticationCompleted on auto-prompt failures.
- .NET MAUI
- App Lock
- Biometrics
- C#
Discussion
Comment on Plugin.Maui.AppLock. The thread lives on this component's GitHub repository (nuvyntralabs/Plugin.Maui.AppLock). Sign in with GitHub — Giscus uses Discussions, Utterances uses Issues.