Closed Nurlibay closed 11 months ago
QR code specifies black dots on a white background, this is the other way around.
You can scan this using inverted or MIXED_SCAN mode.
How to set
val options = ScanOptions()
.addExtra(Intents.Scan.SCAN_TYPE, Intents.Scan.MIXED_SCAN)
.setOrientationLocked(false)
.setCaptureActivity(CustomScannerActivity::class.java)
.setCameraId(0)
.setBeepEnabled(false)
.setBarcodeImageEnabled(true)
.setDesiredBarcodeFormats(ScanOptions.QR_CODE)
to dialog?
I open camera in DialogFragment.
Description of the problem:
** I'm using 4.3.0 version
** Device - Xiomi Redmi 10C, Android 13
** This problem happening my device (above)
** Issue happening qr format here
** Project link here