zxing-android-embedded
zxing-android-embedded copied to clipboard
Unable to scan Google QR code content
Description of the problem:
Unable to scan Google QR code content
Which library version are you using? E.g. 3.2.0.
last version
Which phone/tablet are you using, and which Android version does it run? (e.g. Samsung Galaxy S5, Android 5.0)
HONOR 50 Android12
Does the same happen on other devices or an emulator?
Can you reproduce the issue in the sample project included with the library? If not, can you provide your own sample project or sample code that produces this error?
In the case of an error do you have a stack trace or adb logs?
It's better to use Android ML-Kit for scanning codes.😊
This works when using INVERTED_SCAN
or MIXED_SCAN
mode:
https://github.com/journeyapps/zxing-android-embedded/blob/d09b7c76c3124fbfbd096a65d60b1997f37ff90f/sample/src/main/java/example/zxing/MainActivity.java#L52-L56