react-native-qrcode-styled
react-native-qrcode-styled copied to clipboard
Logo no longer shows up on iOS or Android since upgrading to Expo 53 / RN 79 (new Arch)
The only change I made was updating my packages. It works on Expo 52 / RN 76, when upgrading the logo disappears without any errors.
Here's my code:
<QRCodeStyled
ref={qrRef}
data={url}
logo={{
href: require("@assets/images/icon.png"),
hidePieces: true,
padding: 0,
scale: 0.8,
}}
renderBackground={renderBackground}
padding={16}
pieceSize={6}
pieceScale={1.02}
pieceBorderRadius={3}
isPiecesGlued
outerEyesOptions={{
topLeft: {
borderRadius: [16, 3, 3, 3],
},
topRight: {
borderRadius: [3, 16, 3, 3],
},
bottomLeft: {
borderRadius: [3, 3, 3, 16],
},
}}
innerEyesOptions={{
topLeft: {
borderRadius: [8, 2, 2, 2],
},
topRight: {
borderRadius: [2, 8, 2, 2],
},
bottomLeft: {
borderRadius: [2, 2, 2, 8],
},
}}
/>
Upgrading to react-native-svg 15.12.0 seems to have solved this issue!
After upgrade to react-native-svg 15.12.0 nor 15.12.1 it is not fixed... can someone check this again?