Security & identity
Plugin.Maui.AppLock
Lock the app after background — Face ID, PIN, timer
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
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.
Capabilities
- Configurable lock timer after background.
- Biometric and device-PIN unlock.
- RequireAuthenticationAsync gate for sensitive screens.
- Privacy cover while the app is locked.
- .NET MAUI
- App Lock
- Biometrics
- C#