Open sflepp opened 4 years ago
Hi, I have the same error on iPhone with iOS 13. Have You solve this issue? Maybe You've implemented one of approaches which You mentioned here?
I'll be very glad if You can help me to implement this because I'm not iOS guy.
We have an issue that the Face ID dialog is not showing up in rare cases.
The issue seems to be that the function laContext evaluatePolicy:LAPolicyDeviceOwnerAuthenticationWithBiometrics returns an error "User interaction is required" (code: -1004).
The problem is prevented by creating a dedicated instance of LAContext just for the above check. https://stackoverflow.com/questions/35094167/lacontext-evaluatepolicy-does-not-always-prompt-user
Another way would be to call evaluatePolicy twice, which also works but doesn't feel right.