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

[Bug report] Inconsistent scanning of dense QR codes? #817

Open
andyrooc23 opened this issue May 7, 2024 · 0 comments
Open

[Bug report] Inconsistent scanning of dense QR codes? #817

andyrooc23 opened this issue May 7, 2024 · 0 comments
Assignees

Comments

@andyrooc23
Copy link

andyrooc23 commented May 7, 2024

There was already a thread about this a while back but I am having trouble scanning QR Codes of data 1800 characters... very strange issue to be running into especially since i am scanning codes up to 1500 characters with no problem at all.
Attached are two QR Codes that I am using to check, both are the intro to the Tale of Two Cities but one is slightly more data than the other one.
Not sure how to proceed since this is crucial for our project.

Here is that other unresolved but closed thread #352

Would love any pointers. Attached is some of the code I am using
async scan(): Promise {
const granted = await this.requestPermissions();
if (!granted) {
this.presentAlert();
return;
}
const { barcodes } = await BarcodeScanner.scan({
formats: [BarcodeFormat.QrCode],
});
this.barcodes.push(...barcodes);
this.presentData(barcodes.pop()?.rawValue);
}

and then our initialization code

ngOnInit() {
BarcodeScanner.isSupported().then((result) => {
this.isSupported = result.supported;
BarcodeScanner.setZoomRatio({ zoomRatio: 1 });
});
}

Untitled 1
Untitled 1 (1)

UPDATE:
Officially not working on android OR ios. Both platforms failing past the 1600 character mark on QR codes

@andyrooc23 andyrooc23 changed the title Inconsistent scanning of dense QR codes?[Bug report] Title for the bug [Bug report] Inconsistent scanning of dense QR codes? May 9, 2024
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

2 participants