zxing-android-embedded icon indicating copy to clipboard operation
zxing-android-embedded copied to clipboard

Doesn't scan under debbuger qr or receive result after few minutes and generate qr very slowly

Open RJSDevel opened this issue 3 years ago • 2 comments

Description of the problem:

implementation 'com.journeyapps:zxing-android-embedded:4.3.0'

Google pixel 4, 5, Android 12

    private val barcodeLauncher: ActivityResultLauncher<ScanOptions> =
        registerForActivityResult(ScanContract()) { result: ScanIntentResult ->

            }
        }

        barcodeLauncher.launch(
                ScanOptions()
                    .setBeepEnabled(false)
                    .addExtra(Intents.Scan.SCAN_TYPE, Intents.Scan.MIXED_SCAN)
                    .setPrompt(getString(R.string.point_your_camera_at_the_qr_code))
            )

log.txt

RJSDevel avatar Apr 14 '22 12:04 RJSDevel

That is expected unfortunately - the debugger significantly slows down the scanning algorithms.

rkistner avatar Apr 20 '22 10:04 rkistner

Yes, Run APP in Debug Mode, the scan is extremely slow.

firesh avatar Apr 30 '22 04:04 firesh