The camera module will shut off every time you you place a barcode in field of view. It just returns back to previous view.
Otherwise it takes photos and works just fine. Tried multiple times on OnePlus6.
That's definitely a bug that has never occured to us in the 2.5+ years we've been developing the new runtime, nice find! The issue is that the same camera code also handles the QR/barcode scanning, and thus triggers when it recognizes a scannable code. Will definitely fix this!