Open kkotkkio opened 6 years ago
Are you on iOS or Android ?
@kkotkkio can you post the picture to test ?
Hello. Any solution?
I have had this issue before and it was because the line <!-- Generator: Sketch 51.3 (57544) - http://www.bohemiancoding.com/sketch -->
was not parsed well. If you removed it, that should fixed your issue.
<?xml version="1.0" encoding="UTF-8"?>
<svg width="249px" height="249px" viewBox="0 0 249 249" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: Sketch 51.3 (57544) - http://www.bohemiancoding.com/sketch -->
<title>Oval</title>
<desc>Created with Sketch.</desc>
<defs></defs>
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<circle id="Oval" stroke="#979797" fill="#D8D8D8" cx="124.5" cy="124.5" r="123.5"></circle>
</g>
</svg>
I'm using static svg file like below.
<SvgUri width="200" height="200" source={require('../assets/images/ic_meu_tab.svg')} />
but it shows this error.
"Raw text cannot be used outside of a tag. Not rendering string: 'Generator: Sketch 47.1(45422) - http://www.bohemiancoding.comsketch'"