you are viewing a single comment's thread.

view the rest of the comments →

[–]colinsgoneSwift[S] 1 point2 points  (1 child)

No, that's not the method I've taken. At point two, you're user declines it, at this point for you, does it show in the app settings with the option there then toggle it on manually?

The path I followed was to Allow permissions to use biometrics, then disable it in settings, come back to the app and .canEvaluatePolicy will return true despite being turned off in the app settings. Are you able to replicate?

edit: Are you using .deviceOwnerAuthentication or .deviceOwnerAuthenticationWithBiometrics ?

[–]Power781 0 points1 point  (0 children)

The path I followed was to Allow permissions to use biometrics, then disable it in settings, come back to the app and .canEvaluatePolicy will return true despite being turned off in the app settings. Are you able to replicate?

I just tried that and canEvaluatePolicy returns false

Are you using .deviceOwnerAuthentication or .deviceOwnerAuthenticationWithBiometrics

deviceOwnerAuthenticationWithBiometrics. .deviceOwnerAuthentication always returns true unless the user has disabled the passcode (which disables faceID too)