Closed yilmazbahadir closed 3 years ago
When I checked out the "the symbol-qr-library" repository and debugged this case; I noticed that the width of the QR code to be produced was fixed, and this was causing the QR code to be compressed and therefore become unreadable.
Although it says
If width is too small to contain the qr symbol, this option will be ignored.
on qrcode library API => https://www.npmjs.com/package/qrcode#width I couldn't see that was happening.
So when I removed the width parameter, the issue was resolved.
I can push the fix and create a PR if needed.
Error Description When I try to read an exported MnemonicQR code in one of the Online QR Code Readers(i.e https://webqr.com ) or try to read with JS QRCode libraries (jsQR, vue-qrcode-reader), it fails to read(relatively small size QR codes succeed).
To Reproduce Steps to reproduce the behaviour:
To reproduce with js QR libraries:
Expected behavior Content of the QR Code should be shown
Screenshots & Attachments
mnemonicqr-doesntwork:![mnemonicqr-doesntwork](https://user-images.githubusercontent.com/6256269/91853172-b91ab080-ec59-11ea-892b-f40e03066424.png)
transactionqr-with-231-chars-message-doesnt-work:![transactionqr-with-231-chars-message-doesnt-work](https://user-images.githubusercontent.com/6256269/91854081-182cf500-ec5b-11ea-9515-679614c1ea70.png)
qrcode-with-less-data-works:![account-qr](https://user-images.githubusercontent.com/6256269/91854206-49a5c080-ec5b-11ea-9ed9-fa0e79055f2f.png)