Front camera not working on some iPhones #1090
Comments
I found out this happened after I set Btw, everything works fine when I set the front camera to default in the constructor, and switch back and forth. The problem only occurs when the back camera is default, and then switching to the front camera. |
Same Issue for me but removing the capture quality works for me. |
Is this happening to RNCamera as well? |
@sibelius fixed it with removing capture quality. |
Can somebody send a fix for this? |
I am using react-native-camera, tried to run following code https://github.com/react-native-community/react-native-camera/blob/master/docs/RNCamera.md in the simulator and Iphone X (iOS 11.2) and getting just black screen (as it is set background) without any camera. Any issues related to this? |
@0maxxam0 funded this issue with $20. See it on IssueHunt |
@0maxxam0 are you experiencing the exactly same issue than the OP? Are you using RNCamera or RCTCamera? |
RCTCamera is removed #1890 Migrate to latest version of RNCamera |
@sibelius this still happens on 3.0.0 |
This is still an issue on |
I'm having issues using the front facing camera on some iPhones, at least on iPhone 5s and 6s, both running iOS 11. I have no issues on other iPhones, e.g. iPhone X. The preview is black, and the app crashes when I try to take a photo:
2018-01-11 17:22:31.577819+0100 KOMP[353:78935] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[AVCaptureStillImageOutput captureStillImageAsynchronouslyFromConnection:completionHandler:] Inactive/invalid connection passed' *** First throw call stack: (0x183eb2364 0x1830f8528 0x189829494 0x10084e598 0x101a392cc 0x101a3928c 0x101a47f80 0x101a3c7ec 0x101a48f6c 0x101a50020 0x183ad6f1c 0x183ad6b6c) libc++abi.dylib: terminating with uncaught exception of type NSException (lldb)
Anyone else experienced this?
Screenshot from iPhone 6s
The text was updated successfully, but these errors were encountered: