Open dunghoangpg opened 2 days ago
Did u config formats option? BarcodeScanner support qr_code format by default, if needed to support other formats, use config formats option;
Related document: https://reactbarcodescanner.vercel.app/docs/guide#barcode-format
@preflower Yes, added but the camera can't detect barcode <BarcodeScanner onCapture={(e) => setBarCode(e[0]?.rawValue)} options={{formats: ['code_128']}} />
i tried create a demo, and it worked fine; u can try the following path to check problem:
Hi, I try to scan the barcode but the plugin does not work, could you please check it?