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

Scanning (ridiculously) big QR codes makes it crash #4

Open
HacKanCuBa opened this issue Oct 22, 2016 · 0 comments
Open

Scanning (ridiculously) big QR codes makes it crash #4

HacKanCuBa opened this issue Oct 22, 2016 · 0 comments

Comments

@HacKanCuBa
Copy link

I scanned this tweet shared by Mikko Hipponen and the app crashed. The QR code ammount of data is 2953 bytes.

Here's the image:
huge QR code

However, other apps such as Barcode Scanner do not crash and solves the scan perfectly.

I think this has to do with the fact that Obsqr tries to show the text in a small textbox. It should check length first to see if it fits in a small textbox and if it doesn't, display it in a new screen or something (sorry, I'm a dev but not an Android one).

Test conditions: Android v6.x and v7.0 on Nexus 5X (custom distro: CopperheadOS)

Note: I wrote this at Bitbucket, then I noticed you were using github.

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

1 participant