react-qrcode-logo icon indicating copy to clipboard operation
react-qrcode-logo copied to clipboard

QR code with dark background won't work in Android devices

Open darrylsepeda opened this issue 3 years ago • 0 comments

I found that when we applied darker color on bgColor prop, iPhone could successfully detect the qr code but in Android is really hard to scan it (couldn't be detected most of the time).

I figured out that the cause is the dark background color is when I tried to scan the example on github and npm page, and it works fine. Then I debug it and found the issue came from bgColor prop which I used dark color on it, and a bit lighter color on fgColor.

Is there any way to make Android detect this QR code even when the background is using darker color?

darrylsepeda avatar Jun 27 '21 03:06 darrylsepeda