Configure platform permissions for Plugin.Maui.Biometric
masterTo use biometric authentication, you must declare the necessary permissions in your platform-specific configuration files for Android and iOS/macOS.
Android
Add the following permission to your AndroidManifest.xml:
<uses-permission android:name="android.permission.USE_BIOMETRIC" />iOS / macOS
Add the following key to your Info.plist to provide a reason for using FaceID:
<key>NSFaceIDUsageDescription</key>
<string>Need your face to unlock! </string><!-- Android: AndroidManifest.xml -->
<uses-permission android:name="android.permission.USE_BIOMETRIC" />
<!-- iOS/macOS: Info.plist -->
<key>NSFaceIDUsageDescription</key>
<string>Need your face to unlock! </string>