"AVCaptureSession startRunning" crashes app

Please provide the following:

  1. SDK Version: 35.0.0
  2. Platforms(Android/iOS/web/all): iOS 13.3.1, standalone app

One of our users is experiencing an app crash whenever he opens a page in our app that shows a rear camera preview to scan a QR code. He has told us his rear camera actually doesn’t function; opening the iOS camera app shows a black preview.

I was able to obtain the crash dump via TestFlight (sorry for the image; Xcode won’t let me copy…):

I’ve tried to work around the issue by specifying onMountError in the camera component to pause the preview, but the app still crashes. Is there a way to safely handle a broken camera?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.