-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Description
The current implementation attempts to show a custom alert when biometrics are locked out after too many failed attempts:
The Issue
Based on Apple's official documentation and the observed behavior on modern iOS devices, the operating system already handles the UI for biometric lockout. When Touch ID or Face ID is locked, iOS presents its own system-level alert and prompts the user to enter their passcode.
Because the system manages this UI, the custom showAlert in the Flutter code is never displayed to the user, making this block of code effectively dead or unreachable.
Expected Behavior
The app should rely on the native iOS handling for biometric lockouts. No custom alert should be necessary.
Proposal
I suggest removing the case .biometryLockout and its associated showAlert call. This will clean up the codebase by removing redundant code and align the plugin's behavior with the standard, native iOS user experience.