vault-development / react-native-svg-uri

Render SVG images in React Native from an URL or static file
849 stars 334 forks source link

SVG not displaying #95

Open lossen opened 6 years ago

lossen commented 6 years ago

Hi! I tried use svg with Homer like in example and Homer not displayed. Also I tried insert svg code into svgXmlData prop and svg displayed, but it is not best solution for me and fill not changed and get warning " attribute space is required " I also tried to export the svg using the adobe illustrator, but it didn't help. I write about my problem to https://github.com/matc4/react-native-svg-uri/issues/26 , but there are unable to help. Thanks for the any help.

"react-native-svg": "^6.0.0", "react-native-svg-uri": "^1.2.1", "react": "16.0.0-alpha.12", "react-native": "0.47.1",

                     import Resilience from '../../assets/svg/Resilience.svg'
                            <SvgUri
                                width="200"
                                height="200"
                                source={Resilience}
                            />
prscX commented 6 years ago

Hi @lossen

Is it possible for you to share SVG file. I can test the same on my end

Thanks Pranav

musadiq123 commented 2 years ago

@prscX @lossen any update on this, same issue 3 January it was working on 4 January library not working svg local images