feat: support native sign-in-with-apple on macOS (#856)

This commit is contained in:
Huang Xin
2025-04-10 20:49:11 +08:00
committed by GitHub
parent d4af2d3ef5
commit fe25c3e995
8 changed files with 308 additions and 21 deletions
+4 -1
View File
@@ -48,9 +48,12 @@ tauri-plugin-haptics = "2.2.4"
tauri-plugin-native-bridge = { path = "./plugins/tauri-plugin-native-bridge" }
[target."cfg(target_os = \"macos\")".dependencies]
rand = "0.8"
cocoa = "0.25"
objc = "0.2.7"
rand = "0.8"
objc2 = "0.6"
objc2-authentication-services = "0.3"
objc2-foundation = { version = "0.3", features = ["NSError", "NSArray"] }
[target.'cfg(any(target_os = "macos", windows, target_os = "linux"))'.dependencies]
tauri-plugin-cli = "2"