Skip to content

Commit 1805df7

Browse files
committed
[Android] Set invalidatedByBiometricEnrollment to false
1 parent 4ae4db5 commit 1805df7

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

flutter_secure_storage/CHANGELOG.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@
33
* [Android] (Feature) Method to check if an Android device supports Strongbox
44
* [Android] (Fix) Create separate instances of FlutterSecureStorage with different configs/options
55
* [Android] (Adjustment) Enabled StrongBox by default, use fallback if it's not available
6-
* Enabled StrongBox by default, use fallback if it's not available.
7-
* [Android] Method to check if an Android device supports Strongbox
8-
* [iOS] Add option to use secure enclave (based on [#989 PR](https://github.com/juliansteenbakker/flutter_secure_storage/pull/989))
6+
* [Android] (Adjustment) Set invalidatedByBiometricEnrollment to false
97
* [iOS] (Feature) Add option to use secure enclave (based on [#989 PR](https://github.com/juliansteenbakker/flutter_secure_storage/pull/989))
108

119
## 10.0.0

flutter_secure_storage/android/src/main/java/com/it_nomads/fluttersecurestorage/ciphers/KeyCipherImplementationAES23.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ public void generateSymmetricKey() throws Exception {
167167
configureLegacyAuth(builder);
168168
}
169169

170-
builder.setInvalidatedByBiometricEnrollment(true);
170+
builder.setInvalidatedByBiometricEnrollment(false);
171171
} else {
172172
// Explicitly set to false for clarity (default behavior)
173173
builder.setUserAuthenticationRequired(false);
@@ -212,7 +212,7 @@ public void generateSymmetricKey() throws Exception {
212212
configureLegacyAuth(builder);
213213
}
214214

215-
builder.setInvalidatedByBiometricEnrollment(true);
215+
builder.setInvalidatedByBiometricEnrollment(false);
216216
}
217217

218218
keyGenerator.init(builder.build());

0 commit comments

Comments
 (0)