mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-10-20 23:11:24 +02:00
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:
1 parent
a819187e12
commit
2ebe54abce
17 files changed
+439
-68
No files matched your search
@@ -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",
|
||||
|
||||
@@ -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())?;
|
||||
}
|
||||
|
||||
@@ -171,7 +171,7 @@
|
||||
component: Nfc,
|
||||
icon: 'i-ph-nfc'
|
||||
},
|
||||
isMobile && {
|
||||
{
|
||||
label: 'Biometric',
|
||||
component: Biometric,
|
||||
icon: 'i-ph-scan'
|
||||
|
||||
Reference in new issue
Block a user