Biometric Infrastructure
Component Detail
Infrastructure
low complexity
mobile
0
Dependencies
2
Dependents
0
Entities
0
Integrations
Description
Platform-level abstraction wrapping the local_auth Flutter plugin and Flutter Secure Storage package. Provides a stable interface over iOS LocalAuthentication and Android BiometricPrompt APIs, isolating platform-specific configuration, permissions, and error codes from the service layer.
biometric-infrastructure
Responsibilities
- Configure and initialize the local_auth plugin for iOS and Android
- Configure Flutter Secure Storage with AES-256 encryption options
- Abstract platform-specific biometric error codes into domain-level error types
- Manage NSFaceIDUsageDescription and Android BIOMETRIC permission declarations
Interfaces
getLocalAuth() -> LocalAuthentication
getSecureStorage() -> FlutterSecureStorage
mapPlatformError(error) -> BiometricError
getStorageOptions() -> AndroidOptions
Relationships
Dependents (2)
Components that depend on this component