Open farooqmajeed opened 6 years ago
same here !!! i guess this will happen in android
try to use
source={{uri:'http://thenewcode.com/assets/images/thumbnails/homer-simpson.svg'}}
instead of using
source={require('../assets/15min.svg')}
then problem solved
but i'm still waiting for solution source={require('../assets/15min.svg')}
@farooqmajeed There are some issues with some svg, I tried to fix the one I was experiencing in the pull request #142. Maybe my branch (or this repo if my pull request is accepted) will fix your issue.
About the other error, can you @dkchange share the svg file?
dependencies: "react": "16.3.1", "react-native": "0.55.2", "react-native-svg": "^6.3.1", "react-native-svg-uri": "^1.2.3"
here is my code - > <SvgUri width="200" height="200" source={require('../assets/15min.svg')} />