Hi there.
When using the capacitor camera plugin in a browser like chrome, everything works like a charm.
Just in Safari on Mac, it returns a black picture.
So when clicking on the shutter, you get this preview image that you have to confirm or decline.
This image is allready black.
export async function takePicture() {
console.log("take photo")
const image = await Camera.getPhoto({
quality: 90,
allowEditing: false,
resultType: CameraResultType.DataUrl
});
return image.dataUrl
}
I did try different resultType’s and other hacks, but could not find a solution.
Thanks for any suggestions.