diff --git a/ui/BankingiOSApp/BankingiOSApp/Security/BiometricAuthenticationService.swift b/ui/BankingiOSApp/BankingiOSApp/Security/BiometricAuthenticationService.swift index f6cec415..eaa37ba8 100644 --- a/ui/BankingiOSApp/BankingiOSApp/Security/BiometricAuthenticationService.swift +++ b/ui/BankingiOSApp/BankingiOSApp/Security/BiometricAuthenticationService.swift @@ -7,7 +7,13 @@ class BiometricAuthenticationService { var biometryType: LABiometryType { - localAuthenticationContext.biometryType + var error: NSError? + + if localAuthenticationContext.canEvaluatePolicy(.deviceOwnerAuthenticationWithBiometrics, error: &error) { + return localAuthenticationContext.biometryType + } + + return .none } var isFaceIDSupported: Bool {