Open tomovski opened 2 months ago
I'm also experiencing this problem.
Interestingly, the problem has already occurred with Samsung and Motorola devices. But for the vast majority of users, everything is working perfectly.
No error is displayed, it just doesn't display the screenshot.
你可以试试先运行await cameraView.StopCameraAsync();
,然后再运行await cameraView.StartCameraAsync();
Thank you very much @moze-max , it worked very well. Simple as that.
After updating to .net 8.0.3 version the camera stopped loading for some Samsung devices. And it's only happening on the first camera
cameraView.Camera = cameraView.Cameras.First();
While it is working on other Samsung devices, Pixel and iPhone.I also receive a success result in the StartCameraAsync, but nothing is rendered.
var result = await cameraView.StartCameraAsync();
I've also tried the the workaround with:
and tried with some small delay before stopping/starting the camera, but nothing seems to work.
I am using the latest version of Camera.MAUI and Camera.MAUI.ZXing. I saw some other people also facing the issue. Is there any other workaround ? Many thanks