flutter_qr_reader
flutter_qr_reader copied to clipboard
QR code (scan / picture) recognition (AndroidView / UiKitView)
 * [line 5] Unused import: 'package:flutter_qr_reader/flutter_qr_reader.dart'. Try removing the import directive. * [line 15] The name 'QrcodeReaderViewState' isn't a type so it can't be used as a type argument....
https://zxing.github.io/zxing/apidocs/com/google/zxing/DecodeHintType.html#TRY_HARDER ``` HINTS.put(DecodeHintType.TRY_HARDER, BarcodeFormat.QR_CODE); HINTS.put(DecodeHintType.POSSIBLE_FORMATS, allFormats); HINTS.put(DecodeHintType.CHARACTER_SET, "utf-8"); ``` TRY_HARDER public static final DecodeHintType TRY_HARDER Spend more time to try to find a barcode; optimize for accuracy, not speed. Doesn't...
When I run the app it gives this warning [Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: /Users/Waheed/.pub-cache/hosted/pub.dartlang.org/flutter_qr_reader-1.0.3/android/src/main/java/me/hetian/flutter_qr_reader/factorys/QrReaderFactory.java uses unchecked or...
onMethodCall方法回调时_view对象可能为空,因为回调时机可能在dispose方法之后,所以需要增加一个判空。
 虽然暂时不影响 但是看起来会以为有错误
java.lang.NoSuchMethodError: No static method open(I)Lcom/google/zxing/client/android/camera/open/OpenCamera; in class Lcom/google/zxing/client/android/camera/open/OpenCameraInterface; or its super classes (declaration of 'com.google.zxing.client.android.camera.open.OpenCameraInterface' appears in /data/app/com.xxx.xxxx-xxxxx==/base.apk) at com.google.zxing.client.android.camera.CameraManager.openDriver(CameraManager.java:107) at me.hetian.flutter_qr_reader.readerView.QRCodeReaderView.surfaceCreated(QRCodeReaderView.java:225) at android.view.SurfaceView.updateSurface(SurfaceView.java:709) at android.view.SurfaceView$2.onPreDraw(SurfaceView.java:144) at android.view.ViewTreeObserver.dispatchOnPreDraw(ViewTreeObserver.java:977) at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2433)...
扫码时,对焦出现不停的闪烁,应调整为对焦成功后不再自动对焦,除了焦距变了,不知道对焦动画的问题不,导致闪烁
你好,提一个优化建议: 识别图片中的二维码,能否修改为可配置,限制只能拍照。 期待修改,谢谢,辛苦大佬。
ios 卡顿
在 ios 上第一次打开扫一扫页面会有一下明显的卡顿。
一加5 - Android 10.0.2 项目案例: ScanViewDemo.dart,扫描完成后,再开始 _key.currentState.startScan(); 就无法识别二维码了,后台log提示**mCameraStateCallback is null**