We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ec7073 commit cdaf60dCopy full SHA for cdaf60d
passKit/Helpers/YubiKeyConnection.swift
@@ -18,8 +18,10 @@ public class YubiKeyConnection: NSObject {
18
19
override init() {
20
super.init()
21
- YubiKitManager.shared.delegate = self
22
- YubiKitManager.shared.startAccessoryConnection()
+ if YubiKitDeviceCapabilities.supportsMFIAccessoryKey {
+ YubiKitManager.shared.delegate = self
23
+ YubiKitManager.shared.startAccessoryConnection()
24
+ }
25
}
26
27
public func connection(cancellation: @escaping (_ error: Error) -> Void, completion: @escaping (_ connection: YKFConnectionProtocol) -> Void) {
0 commit comments