react-native-custom-qr-codes
react-native-custom-qr-codes copied to clipboard
Don't work with logo
I can't scan this code : https://imgur.com/a/IK6rujf If I generate code without logo, it works fine : https://imgur.com/a/rJ9bMTW
Hi @boygiandi - try changing the ecl attribute to a higher error correction level (can read about that here).
e.g. <QRCode ecl='H' logo={require('./dab.png')} />
This is documented in the README.md.
@nating I have that exact same thing happening here, tried ECL L, Q, M and H.
<QRCode content='https://reactnative.com' logo={myLocalLogo} ecl='H'/>
My iPhone XS Max does not pick them up, but it does pick up on the ones on the README.md. Is there anything else I can try to get this to work? I'm using a small logo in a white background, size of 200x200.
Is there a recommended size? Is it better to use a JPG or PNG?