Open alonesuperman opened 6 years ago
Finally, I found the reason after debugging this lib.
This lib base on react-native-svg@5.x , not the latest verson. So it miss some tag, such as "Use" and "Symbol".
I rewrite somewhere to fix it :
xlink:
, "");After the work (1~8) above, the problem was resolved. And I publish as a new lib called react-native-svg-src base on react-native-svg@6.x ......
@alonesuperman awesome
my svg should be look like as follow(pic1)
But without luck, it render as follow(pic2)
![image](https://user-images.githubusercontent.com/21165139/37322944-9d408b0c-26bb-11e8-8ee8-011e3cecc318.png)
I found that it looks like lose the "defs" tag. when I got this idea, I tried to delete the inner code of defs tag, it looks same as pic2.
but when I debug the react-native-svg-url , I see that inputSvg was right, so I have no idea what's happen.![image](https://user-images.githubusercontent.com/21165139/37323116-80d3a156-26bc-11e8-80fb-97d129ec4108.png)
here is my svg `<?xml version="1.0" encoding="UTF-8"?>
`