mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-10-18 23:07:27 +02:00
* Fix incorrect error being reported in certain cases with fallback allowed * Add change file * Rework original solution due to overlooking authenticators logic on API >= `Build.VERSION_CODES.R` * fix(biometric): don't cast the Android error message to String * fix(biometric): report a missing device credential before showing the Android prompt Replaces the override of ERROR_NO_BIOMETRICS in the prompt callback, which keyed on the caller's flag rather than the device state and missed the no-hardware errors. * fix(biometric): load the missing device credential message from a string resource * chore(biometric): drop stray semicolon * docs(biometric): mention the passcodeNotSet error code rename in the change file * test(e2e): cover the biometric passcodeNotSet rejection on Android --------- Co-authored-by: Lucas Nogueira <lucas@tauri.app>
405 B
405 B
biometric, biometric-js
| biometric | biometric-js |
|---|---|
| patch:bug | patch:bug |
Fix biometric plugin reporting an inconsistent and incorrect error on Android when no device passcode was set and allowDeviceCredential is enabled. Android now rejects with the passcodeNotSet error code like iOS does; it previously used the undocumented noDeviceCredential code, so code matching that string must switch to passcodeNotSet.