I’m currently going through the Ionic First App tutorial in Angular and I’m running into an issue where the camera plugin is not taking the picture in Chromium-based browsers (I tried Chome and the new Edge). I am able to pull up the viewfinder and have a preview of my image, but when I try to take the picture I get this message in the browser console: “Unable to take photo! DOMException: platform error. pwa-camera.entry.js:317”
This issue doesn’t exist in Firefox, which is confusing.
I cloned the tutorial app from the Ionic docs site (GitHub - ionic-team/tutorial-photo-gallery-angular: Photo Gallery Tutorial: Ionic Angular and Capacitor) and after running ‘npm install’ and serving the app, I get the same results.
Is there a known bug for the camera plugin for Capacitor 3? Not sure how else to troubleshoot this error.