From dd7a9986612485972488db75e004955a1ea9dd4f Mon Sep 17 00:00:00 2001 From: Johan Jongsma Date: Mon, 23 Mar 2026 12:23:42 -0400 Subject: [PATCH] fix: add missing native permissions for biometric auth MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit iOS was missing NSFaceIDUsageDescription — Face ID prompts will crash without it (required by Apple since iOS 11). Added with user-facing reason string scoped to health data privacy. Android was missing USE_BIOMETRIC and USE_FINGERPRINT permissions — biometric_local_auth plugin requires both for API 28+/legacy compat. The Flutter implementation was already complete: - BiometricService (services/biometric_service.dart) - AuthGate lock screen (core/auth_gate.dart) - Settings toggle with policy control (features/settings/) - Wired into main.dart These permission declarations were the only missing pieces blocking Face ID / fingerprint from working on device. --- android/app/src/main/AndroidManifest.xml | 3 +++ ios/Runner/Info.plist | 2 ++ 2 files changed, 5 insertions(+) diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 0c8b238..cad0db8 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -2,6 +2,9 @@ + + + + NSFaceIDUsageDescription + inou uses Face ID to keep your medical data private and secure. CFBundleDevelopmentRegion $(DEVELOPMENT_LANGUAGE) CFBundleDisplayName