Summary
On Android with flutter_secure_storage v10.0.0, using biometric-enforced options can crash the app when:
- biometric auth fails once, then
- user retries in the same prompt.
The app crashes with:
java.lang.IllegalStateException: Reply already submitted
Environment
- flutter_secure_storage: 10.0.0
- Flutter: 3.29.2
- Dart: 3.7.x
- Platform: Android
- Device observed: Xiaomi 2201117SG (MIUI / Android 13+)
- Config:
const FlutterSecureStorage(
aOptions: AndroidOptions.biometric(
enforceBiometrics: true,
biometricPromptTitle: 'Authenticate to access',
biometricPromptSubtitle:
'Use biometrics or device credentials (Device PIN/Pattern/Password)',
),
);
Summary
On Android with
flutter_secure_storagev10.0.0, using biometric-enforced options can crash the app when:The app crashes with:
java.lang.IllegalStateException: Reply already submittedEnvironment