@aparajita/capacitor-biometric-auth 7.0.1 → 7.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -324,7 +324,7 @@ This method mutates the array and returns a reference to the same array. |
324
324
  | androidTitle | string | Title for the Android dialog. If not supplied, the system default is used. |
325
325
  | androidSubtitle | string | Subtitle for the Android dialog. If not supplied, the system default is used. |
326
326
  | androidConfirmationRequired | boolean | Determines if successful weak biometric authentication must be confirmed.<br><br>For information on this setting, see https://developer.android.com/reference/android/hardware/biometrics/BiometricPrompt.Builder#setConfirmationRequired(boolean).<br><br>Default: `true` |
327
- | androidBiometryStrength | <a href="#androidbiometrystrength">AndroidBiometryStrength</a> | Set the strength of Android biometric authentication that will be accepted.<br><br>Default: <a href="#androidbiometrystrength">`AndroidBiometryStrength.weak`</a> |
327
+ | androidBiometryStrength | <a href="#androidbiometrystrength">AndroidBiometryStrength</a> | Set the strength of Android biometric authentication that will be accepted.<br><br>👉 **NOTE:** On Android 9 & 10 (API 28-29), this will effectively always be `.weak` if `allowDeviceCredential` is true. This is a known limitation of the Android API. 🤯<br><br>Default: <a href="#androidbiometrystrength">`AndroidBiometryStrength.weak`</a> |
328
328
 
329
329
  #### PluginListenerHandle
330
330
 
@@ -127,6 +127,10 @@ export interface AuthenticateOptions {
127
127
  /**
128
128
  * Set the strength of Android biometric authentication that will be accepted.
129
129
  *
130
+ * 👉 **NOTE:** On Android 9 & 10 (API 28-29), this will effectively always
131
+ * be `.weak` if `allowDeviceCredential` is true. This is a known limitation
132
+ * of the Android API. 🤯
133
+ *
130
134
  * Default: `AndroidBiometryStrength.weak`
131
135
  */
132
136
  androidBiometryStrength?: AndroidBiometryStrength;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aparajita/capacitor-biometric-auth",
3
- "version": "7.0.1",
3
+ "version": "7.0.2",
4
4
  "description": "Provides access to the native biometric auth & device security APIs for Capacitor apps",
5
5
  "author": "Aparajita Fishman",
6
6
  "license": "MIT",