hetian9288 / flutter_qr_reader

QR code (scan / picture) recognition (AndroidView / UiKitView)
MIT License
112 stars 161 forks source link

startScan isn't continued after scanned. 首次扫描有结果后无法继续扫描 #5

Closed AlexV525 closed 5 years ago

AlexV525 commented 5 years ago

When camera is running, log will print like this: E/Camera-JNI(10103): copyAndPost: off=0, size=1382400 msg=10 After done scan at onScan like demo and run startScan, camera seems paused and not scanning, with no log printed further.

当相机调用时,会输出如上log,但当识别完成后再次启动startScan,相机看起来未正常继续调用而被暂停,log也没有继续输出。

flutter doctor:

[√] Flutter (Channel unknown, v1.5.4-hotfix.2, on Microsoft Windows [Version 10.0.18362.175], locale zh-CN)
[√] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
AlexV525 commented 5 years ago

This only appears in debug mode, release has no related issue for now.

仅出现在debug情况下,release暂无此情况。

hetian9288 commented 5 years ago

无法复现你的情况 你可以试试 使用flutter的dev分支