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

QR Code containing Japanese Character not being scanned in Android 14, but worked fine on Android 10. #47

Open
shamin26 opened this issue Feb 20, 2024 · 3 comments

Comments

@shamin26
Copy link

I am using this package to scan and read QR Code.
When I use QR containing Japanese Text: Issue occurring for Android 14. (Worked fine on iOS, and Android 10)
When I use QR containing English Text: There is no issue.

Log generated:
Restarted application in 20,647ms.
W/DynamiteModule(22792): Local module descriptor class for com.google.android.gms.vision.dynamite.barcode not found.
I/DynamiteModule(22792): Considering local module com.google.android.gms.vision.dynamite.barcode:0 and remote module com.google.android.gms.vision.dynamite.barcode:0
I/DynamiteModule(22792): Considering local module com.google.android.gms.vision.barcode:0 and remote module com.google.android.gms.vision.barcode:234414000
I/DynamiteModule(22792): Selected remote version of com.google.android.gms.vision.barcode, version >= 234414000
V/DynamiteModule(22792): Dynamite loader version >= 2, using loadModule2NoCrashUtils
W/Vision (22792): Would have logged:
W/Vision (22792): # m.aot@fc7322f1
W/WindowOnBackDispatcher(22792): OnBackInvokedCallback is not enabled for the application.
W/WindowOnBackDispatcher(22792): Set 'android:enableOnBackInvokedCallback="true"' in the application manifest.
I/CameraBase(22792): Connect camera (legacy API) - overrideToPortrait 0, forceSlowJpegMode 0
W/Vision (22792): Would have logged:
W/Vision (22792): # m.aot@4a513f9c
W/Vision (22792): Would have logged:
W/Vision (22792): # m.aot@17cfcde9
E/FlutterBarcodeScannerPlugin(22792): onBarcodeScanReceiver: Attempt to invoke interface method 'void io.flutter.plugin.common.EventChannel$EventSink.success(java.lang.Object)' on a null object reference
D/Camera (22792): app passed NULL surface
I/flutter (22792): result: -1
W/WindowOnBackDispatcher(22792): sendCancelIfRunning: isInProgress=falsecallback=android.view.ViewRootImpl$$ExternalSyntheticLambda17@267a707
W/WindowOnBackDispatcher(22792): OnBackInvokedCallback is not enabled for the application.
W/WindowOnBackDispatcher(22792): Set 'android:enableOnBackInvokedCallback="true"' in the application manifest.

@shamin26
Copy link
Author

Japanese Text QR Code Attached:

japanese_qr

@parthdacoder
Copy link

Facing the same issue!

@CodingWithTashi
Copy link
Owner

Android 14 has breaking changes,Will look into it. Mean time you can check https://pub.dev/packages/flutter_barcode_scanner since we use this package internally

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