Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
RJSDevel opened this issue Apr 14, 2022 · 2 comments

Comments

@RJSDevel
Copy link

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 RJSDevel changed the title Doesn't scan qr and generate qr very slowly Doesn't scan under debbuger qr and generate qr very slowly Apr 15, 2022
@RJSDevel RJSDevel reopened this Apr 15, 2022
@RJSDevel RJSDevel changed the title Doesn't scan under debbuger qr and generate qr very slowly Doesn't scan under debbuger qr or receive result after few minutes and generate qr very slowly Apr 15, 2022
@rkistner
Copy link
Member

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

@firesh
Copy link

firesh commented Apr 30, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants