Camera Issue in Our App (Webview or cap plugin)


We’re experiencing a problem with the camera in our app, and have tried two different approaches to resolve it:

  1. Capacitor Camera Plugin: With this plugin, we found that the camera crashes on some devices but not all. Our research suggests that this might be due to an operating system issue. only the Camera crashes not the app.
  2. Webview API: Using this approach, we encountered an issue on each device where the camera stream doesn’t function properly until the screen is touched.

Any advice or guidance you can provide to help us address these issues would be greatly appreciated.

Package version:
Ionic 4.7.1
@ionic react 6.5.6
capacitor camera 4.1.4

Best regards

We’re having the exact same issue with the Webview API. Were you able to resolve this?

Unfortunately not, the Webview API bug doesn’t happen on every build and the Capacitor camera plugin doesn’t crash on every device, so we’ve tabled the issue.

We also tried an update for Capacitor, but nothing changed. Also, the responses for the issue are small ¯_(ツ)_/¯

We followed this advice:

Which was to “Add a small animation on site(Add invisible block with infinite rotate animation) and bug will be fixed” which, to our surprise, did indeed resolve this issue for us.