feat(biometric): add macOS Touch ID support via LocalAuthentication framework (#3264)

* feat(biometric): add macOS Touch ID support via LocalAuthentication framework

* cleanup

* fmt

* change file

* fix tests

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
This commit is contained in:
Masayoshi TakahashiandLucas Nogueira authored and GitHub committed 2026-10-11 21:56:15 -03:00
1 parent a819187e12
commit 2ebe54abce
17 files changed
+439 -68

No files matched your search

+1 -1
View File
@@ -42,6 +42,7 @@ tauri-plugin-sql = { path = "../../../plugins/sql", version = "2.4.1", features
"sqlite",
] }
tauri-plugin-websocket = { path = "../../../plugins/websocket", version = "2.4.3" }
tauri-plugin-biometric = { path = "../../../plugins/biometric/", version = "2.4.1" }
# WebDriver automation bridge, used by the plugins e2e suite (packages/api-e2e).
# Desktop-only and behind the off-by-default `automation` feature so it never ships in a
@@ -76,7 +77,6 @@ tauri-plugin-window-state = { path = "../../../plugins/window-state", version =
[target."cfg(any(target_os = \"android\", target_os = \"ios\"))".dependencies]
tauri-plugin-barcode-scanner = { path = "../../../plugins/barcode-scanner/", version = "2.5.2" }
tauri-plugin-nfc = { path = "../../../plugins/nfc", version = "2.4.2" }
tauri-plugin-biometric = { path = "../../../plugins/biometric/", version = "2.4.2" }
tauri-plugin-geolocation = { path = "../../../plugins/geolocation/", version = "2.4.2" }
tauri-plugin-haptics = { path = "../../../plugins/haptics/", version = "2.4.2" }
@@ -9,6 +9,8 @@
"cli:default",
"positioner:default",
"updater:default",
"biometric:allow-authenticate",
"biometric:allow-status",
"global-shortcut:allow-unregister",
"global-shortcut:allow-register",
"global-shortcut:allow-unregister-all",
+1 -1
View File
@@ -45,6 +45,7 @@ pub fn run() {
.build(),
)
.plugin(tauri_plugin_fs::init())
.plugin(tauri_plugin_biometric::init())
.plugin(tauri_plugin_clipboard_manager::init())
.plugin(tauri_plugin_dialog::init())
.plugin(tauri_plugin_http::init())
@@ -92,7 +93,6 @@ pub fn run() {
{
app.handle().plugin(tauri_plugin_barcode_scanner::init())?;
app.handle().plugin(tauri_plugin_nfc::init())?;
app.handle().plugin(tauri_plugin_biometric::init())?;
app.handle().plugin(tauri_plugin_geolocation::init())?;
app.handle().plugin(tauri_plugin_haptics::init())?;
}