We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 815ad27 commit d3b7c1cCopy full SHA for d3b7c1c
1 file changed
android/src/main/java/KeystorePlugin.kt
@@ -280,12 +280,7 @@ class KeystorePlugin(private val activity: Activity) : Plugin(activity) {
280
val parameterSpec = KeyGenParameterSpec.Builder(
281
KEY_HMAC_ALIAS,
282
KeyProperties.PURPOSE_SIGN
283
- )
284
- // Require authentication on every use:
285
- .setUserAuthenticationRequired(!BuildConfig.DEBUG)
286
- .setInvalidatedByBiometricEnrollment(false)
287
- .setUserAuthenticationValidityDurationSeconds(-1)
288
- .build()
+ ).build()
289
keyGenerator.init(parameterSpec)
290
keyGenerator.generateKey()
291
}
0 commit comments