the createQR function is not compatible with react-native. It needs to be updated to use a different npm library to render the QR code that is compatible with react-native. I used QRCode from "react-native-qrcode-svg" to render the QR code from the URL generated from encodeURL. It would be great to have something like this incorporated in the createQR solana pay function.
the
createQR
function is not compatible with react-native. It needs to be updated to use a different npm library to render the QR code that is compatible with react-native. I usedQRCode from "react-native-qrcode-svg"
to render the QR code from the URL generated fromencodeURL
. It would be great to have something like this incorporated in thecreateQR
solana pay function.