[pve-devel] [PATCH pve_flutter_frontend] fix: ios: include the `NSFaceIDUsageDescription` in info.plist
Shan Shaji
s.shaji at proxmox.com
Tue May 13 12:32:00 CEST 2025
The app was crashing on iOS when trying to access the biometric storage
to access the saved password. The crash was due to a missing key inside
the `Info.plist` file [0]. This patch fixes it by adding the missing
`NSFaceIDUsageDescription` key inside the `Info.plist` file.
- [0]
https://developer.apple.com/documentation/bundleresources/information-property-list/nsfaceidusagedescription
Signed-off-by: Shan Shaji <s.shaji at proxmox.com>
---
ios/Runner/Info.plist | 2 ++
1 file changed, 2 insertions(+)
diff --git a/ios/Runner/Info.plist b/ios/Runner/Info.plist
index ef3f061..825d78d 100644
--- a/ios/Runner/Info.plist
+++ b/ios/Runner/Info.plist
@@ -24,6 +24,8 @@
<string>$(FLUTTER_BUILD_NUMBER)</string>
<key>LSRequiresIPhoneOS</key>
<true/>
+ <key>NSFaceIDUsageDescription</key>
+ <string>Use Face ID for a faster and more convenient login experience.</string>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UIMainStoryboardFile</key>
--
2.39.5 (Apple Git-154)
More information about the pve-devel
mailing list