Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch react-native-qrcode-svg@6.3.15 for the project I'm working on.
Here is the diff that solved my problem:
diff --git a/node_modules/react-native-qrcode-svg/src/LogoSVG/index.native.js b/node_modules/react-native-qrcode-svg/src/LogoSVG/index.native.js
index 6c5b14a..1c9298e 100644
--- a/node_modules/react-native-qrcode-svg/src/LogoSVG/index.native.js
+++ b/node_modules/react-native-qrcode-svg/src/LogoSVG/index.native.js
@@ -1,5 +1,6 @@
import React from "react";
-import { LocalSvg } from "react-native-svg/css";
+import LocalSvg from 'react-native-svg/src/LocalSvg'; // ✅ FIXED PATH
+
import { SvgUri, SvgXml } from "react-native-svg";
import { isString, isUrlString } from "../utils";
This issue body was partially generated by patch-package.
Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch
react-native-qrcode-svg@6.3.15for the project I'm working on.Here is the diff that solved my problem:
This issue body was partially generated by patch-package.