rn-draw
rn-draw copied to clipboard
Device: (857:881) undefined is not an object (evaluating 'd.Svg.G')
Trying to run on expo v37 with "react-native-svg": "12.1.0" and getting error: Device: (857:881) undefined is not an object (evaluating 'd.Svg.G')
Am I using incompatible expo version or maybe unsupported react-native-svg version?
Hey @anton6, I had same issue as you. I'm using expo SDK 37 but in a bare workflow. Issue is due to rn-draw requiring expo.svg (see src/config.js) - when expo are now decentralising their packages out. So rn-draw should be using react-native-svg really.
I forked the package and changed this - have a look. You can use my fork if you want.
If you add to your package.json dependencies:
"rn-draw": "https://github.com/harveyappleton/rn-draw/tarball/945769effad1de849f6fc4057c50669cb24a11e6"
and then run npm install
it should work :)