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.