QR Code containing Japanese Character not being scanned in Android 14, but worked fine on Android 10.
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.
Japanese Text QR Code Attached:
Facing the same issue!
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