Hello there,
I'm currently having camera issues with using the Barcode Reader feature. At the moment I'm only using a simple test to see if this feature works, so the code should have nothing to do with my issue.
When I select Barcode Reader I only get a black screen from the camera preview, but I still have access to the controls like the flashlight, zoom, back, and camera rotate. If I match my camera by guessing, I'll actually be able to scan the item even though the camera preview is black screened.
After coming to this issue, I've tried using some of the other camera features, with success, such as the: Measure in MR & the retired Barcode Scanner, and It seems like this is an issue related to the Barcode Reader feature or my phone.
Some solutions I've tried:
1. clearing cache
2. restarting the app
3. deleting the code and redoing it
4. checking camera access to app on phone
5. restarting phone
I have not tried my app on an Android or other iOS device yet, but this will the next idea I will try.