🐛 Error in IOS when implementing flash: {"error": [unknown/unknown: Error Domain=AVFoundationErrorDomain Code=-11800 "The operation could not be completed" UserInfo={NSLocalizedFailureReason=An unknown error occurred (-12780), NSLocalizedDescription=The operation could not be completed, NSUnderlyingError=0x281631710 {Error Domain=NSOSStatusErrorDomain Code=-12780 "(null)"}}]} #1606
Labels
🐛 bug
Something isn't working
What were you trying to do?
I'm implementing the flash functionality.
Reproduceable Code
What happened instead?
Sometimes when I click on the flash icon, the camera turns black and nothing happens until I click on the icon again.
The console.log for 'error' on the Camera, gives me this error:
LOG {"error": [unknown/unknown: Error Domain=AVFoundationErrorDomain Code=-11800 "The operation could not be completed" UserInfo={NSLocalizedFailureReason=An unknown error occurred (-12780), NSLocalizedDescription=The operation could not be completed, NSUnderlyingError=0x280d5bdb0 {Error Domain=NSOSStatusErrorDomain Code=-12780 "(null)"}}]}
This error logs whenever I click on the camera icon.
Relevant log output
No response
Device
iPhone 13
VisionCamera Version
^2.15.4
Additional information
The text was updated successfully, but these errors were encountered: