Describe the bug
When any camera is corrupted for hardware failure, using that camera for capturing photo causes a fatal crash. Also the camera flipping feature doesn't work. A console log is printed in the case of fatal crash:
[AVCapturePhotoOutput capturePhotoWithSettings:delegate:] No active and enabled video connection
To Reproduce
Prerequisite: An iPhone with a camera (preferably back camera) that is corrupted due to hardware failure.
Steps to reproduce the behavior:
Run the example project
Click on 'Pick'
Tap 'Photo' on the bottom selector
Allow camera permission if needed
Tap the flip camera button with no success
Tap the green 'Capture' button
Observe the crash
Expected behavior
Crash should be prevented. Flip camera button should actually flip the camera.
Environment (please complete the following information):
Describe the bug When any camera is corrupted for hardware failure, using that camera for capturing photo causes a fatal crash. Also the camera flipping feature doesn't work. A console log is printed in the case of fatal crash:
To Reproduce Prerequisite: An iPhone with a camera (preferably back camera) that is corrupted due to hardware failure. Steps to reproduce the behavior:
Expected behavior Crash should be prevented. Flip camera button should actually flip the camera.
Environment (please complete the following information):
Installation Type