zxing-android-embedded
zxing-android-embedded copied to clipboard
Doesn't scan under debbuger qr or receive result after few minutes and generate qr very slowly
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))
)
That is expected unfortunately - the debugger significantly slows down the scanning algorithms.
Yes, Run APP in Debug Mode, the scan is extremely slow.