Skip to content
This repository has been archived by the owner on Feb 12, 2025. It is now read-only.

UX: Don't close the QR code window if the scanned code is of an invalid format #96

Open
willezgo opened this issue Jul 16, 2018 · 0 comments
Assignees

Comments

@willezgo
Copy link

Sometimes when I try to scan a perfectly valid QR code, the scanner misinterprets the data and returns a string usually composed of numbers like "65923743" instead of "lnbc...", and then the scanning window is closed and an error message appears ("Can't recognize invoice" etc...).

An improvement would be to just ignore invalid scanned data or maybe just briefly flash a red border to indicate a reading error, but keep the scanning window open as the scanner will usually correctly interpret the QR a few milliseconds/seconds later anyway.

This alleviates the need to close the error message and reopen the scanning manually.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants