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

Unable to scan Google QR code content #736

Open
123yangu opened this issue Mar 16, 2023 · 2 comments
Open

Unable to scan Google QR code content #736

123yangu opened this issue Mar 16, 2023 · 2 comments

Comments

@123yangu
Copy link

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?

image

@m-asadullah
Copy link

It's better to use Android ML-Kit for scanning codes.😊

@rkistner
Copy link
Member

This works when using INVERTED_SCAN or MIXED_SCAN mode:

public void scanBarcodeInverted(View view){
ScanOptions options = new ScanOptions();
options.addExtra(Intents.Scan.SCAN_TYPE, Intents.Scan.INVERTED_SCAN);
barcodeLauncher.launch(options);
}

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