Closed hyunseokYang closed 3 months ago
Hi @hyunseokYang, thanks for opening this issue. The team will take a look and post updates here.
This has been fixed in version 1.3.1: moving the app to the background during a liveness check now results in a .userCancelled
error.
Please update your dependency.
Thanks!
Comments on closed issues are hard for our team to see. If you need more assistance, please open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.
Describe the bug
Hello. I'm inquiring about an error while testing this package in iOS.
in FaceLivenessDetectorView, After reaching the DisplayState.displayingLivense state When the app is inactive (or background)
FaceLivenessDetectionError(code: 5, message: "Camera permissions have not been granted.", recoverySuggestion: "Prompt the user to grant camera permission.")
An error occurs.Of course, the camera permission was already authorized.
Steps To Reproduce
Expected behavior
No error occurs
Swift Liveness Version
1.2.16
Xcode version
Version 15.2 (15C500b)
OS Version
iOS 15.7.1
Device
iPhone 12