diff --git a/TangemSdk/TangemSdk/Common/Core/CardSession.swift b/TangemSdk/TangemSdk/Common/Core/CardSession.swift index a6875a680..ddf25eb15 100644 --- a/TangemSdk/TangemSdk/Common/Core/CardSession.swift +++ b/TangemSdk/TangemSdk/Common/Core/CardSession.swift @@ -373,12 +373,12 @@ public class CardSession { requestBiometricsWithFallback { requestAccessCodeAction() } + case .always: + requestAccessCodeAction() case .defaultWithBiometrics: requestBiometricsWithFallback { runnable.prepare(self, completion: completion) } - case .always: - requestAccessCodeAction() case .default: runnable.prepare(self, completion: completion) } diff --git a/TangemSdk/TangemSdk/Common/Core/Config.swift b/TangemSdk/TangemSdk/Common/Core/Config.swift index 20359f56d..470cb195b 100644 --- a/TangemSdk/TangemSdk/Common/Core/Config.swift +++ b/TangemSdk/TangemSdk/Common/Core/Config.swift @@ -85,10 +85,10 @@ public enum CardIdDisplayFormat { public enum AccessCodeRequestPolicy: String, CaseIterable { /// User code will be requested before card scan. Biometrics will be used if enabled and there are any saved codes. case alwaysWithBiometrics - /// User code will be requested only if set on the card. Biometrics will be used if enabled and there are any saved codes. - case defaultWithBiometrics /// User code will be requested before card scan. case always + /// User code will be requested only if set on the card. Biometrics will be used if enabled and there are any saved codes. + case defaultWithBiometrics /// User code will be requested only if set on the card. Need scan the card twice. case `default` }