I want to make some changes to the react-native-svg library. These changes include to make calls from the library to my code directly. To do that I want to move the native Swift/Obj-C code from the node modules folder of react-native-svg to my app project folder. This way I can call methods in my existing app from the files of react-native-svg. I already deactivated the auto-linking in react-native.config.js
and moved all files to a subfolder called svg
inside my iOS app folder. But after running the app, React throws an error, that it can't find RNSVGPath
, which means, that it can't connect the react side of the svg library with the native code in my folder. So how do I connect those two sides of the puzzle?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…