0

I know that the BarCodeScanningResult gives data as the scanned data inside the QR code. But what if I want the bar code itself, i.e, the image of the bar code along side its data. Is their a way in react-native expo to capture the QR code itself before scanning it for data.

For ex. here the data gives me scanned data but not the QR itself

const handleqrCodeScan = ({ data })=> {}
    <Camera 
          barCodeScannerSettings={{
                barCodeTypes: [BarCodeScanner.Constants.BarCodeType.qr],
          }}
          onBarCodeScanned={handleqrCodeScan}
    />

0 Answers0