我一直在使用react-native-svg和react-native-svg-transformer在我的应用程序中渲染svg文件,并且工作正常。 但是,它不适用于一个特定的svg文件。 文件大小仅为281 kb,而其他工作文件大小约为1.61 mb。 fils应该看起来像这样, which has all the color
但是,看起来像这样, which only shows black
请帮助我,谢谢!
* metro.config.js代码
screenshot of metro.config.js code
* app.js代码 screenshot of app.js code
*有效的svg文件 screenshot of the svg file that works