You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Note:** Data storage methods are not supported on Windows and will return a `notSupported` error.
155
+
150
156
## API Reference
151
157
152
158
### Types
@@ -156,7 +162,8 @@ enum BiometryType {
156
162
None=0,
157
163
TouchID=1,
158
164
FaceID=2,
159
-
Iris=3
165
+
Iris=3,
166
+
Auto=4// Windows Hello (auto-detects available biometry)
160
167
}
161
168
162
169
interfaceStatus {
@@ -216,10 +223,20 @@ Removes secure data.
216
223
- Dialog appearance can be customized with `title` and `subtitle`
217
224
- Supports `confirmationRequired` for additional security
218
225
219
-
### Desktop
226
+
### macOS
227
+
228
+
- Supports Touch ID
229
+
- Full keychain integration for secure data storage
230
+
- Same API as iOS for consistency
231
+
- Requires user authentication for data access
232
+
-**Important:** The app must be properly code-signed to use keychain data storage. Without proper signing, data storage operations may fail with errors
233
+
234
+
### Windows
220
235
221
-
- Currently returns an error indicating biometry is not supported
222
-
- Desktop support may be added in future versions
236
+
- Supports Windows Hello (fingerprint, face, PIN)
237
+
- Authentication only (data storage methods return "not supported" error)
238
+
- Automatically focuses Windows Hello dialog
239
+
- Returns `BiometryType.Auto` as it uses Windows Hello's automatic selection
223
240
224
241
## Error Codes
225
242
@@ -230,14 +247,26 @@ Common error codes returned by the plugin:
230
247
-`biometryNotAvailable` - Biometry is not available on device
231
248
-`biometryNotEnrolled` - No biometric data is enrolled
232
249
-`biometryLockout` - Too many failed attempts, biometry is locked
250
+
-`systemCancel` - System cancelled the operation (device busy)
251
+
-`appCancel` - Application cancelled the operation
- Windows currently supports authentication only, not secure data storage
268
+
-**macOS Code Signing:** Your app must be properly code-signed to use keychain storage on macOS. Development builds may work with ad-hoc signing, but production apps require valid Developer ID or App Store signing
269
+
- Consider implementing additional application-level encryption for highly sensitive data
0 commit comments