This sample app uses Firebase MLKit to scan bar codes and QR Codes There are a number of types of barcodes, MLKKIt is able scan barcodes of all types including QRcodes and other commonly used bar. codes. You can use MlKit in your android app with cameraX api to scan barcodes and QRcodes with great accuracy and faster detection.
So you want to know how to scan barcodes and qrcodes in android using Mlkit? this repo is your answer