Biometric Prompt Widget
Component Detail
User Interface
medium complexity
mobile
1
Dependencies
0
Dependents
0
Entities
0
Integrations
Description
Native biometric authentication prompt that displays Face ID or fingerprint verification UI on app foreground when an active session exists. Wraps the local_auth Flutter plugin to present platform-appropriate biometric dialogs (iOS LocalAuthentication / Android BiometricPrompt) with accessible fallback messaging when biometric hardware is unavailable.
biometric-prompt-widget
Responsibilities
- Display platform-native biometric authentication prompt on app resume
- Show biometric availability status and graceful fallback messaging
- Provide accessible labels and screen reader announcements for biometric flow
- Handle user cancellation and redirect to full credential login
Interfaces
showBiometricPrompt()
onBiometricSuccess()
onBiometricFailure(reason)
onBiometricCancelled()
checkBiometricAvailability()
showFallbackLoginOption()
displayBiometricErrorState(errorType)