react-native-svg-asset-plugin
react-native-svg-asset-plugin copied to clipboard
unable to use pngs directly?
I am in the scenario where I have some svg images and some jpg/png images.
When using this plugin all the svg are converted and loaded correctly, but when trying to use the png it does not work and shows a blank image.
Is it supposed to be like this?
It actually happens only when using a release version, on debug everything works.
Hmm, the use of the plugin should not affect the use of PNG source images. We use both SVG and PNG images in our projects, so should definitely be possible to get it to work.
Do the PNG images work in your case if you just remove the SVG asset plugin from metro config? If not, would you be able to make a repository which reproduces this issue? That would help me a lot in figuring out what is wrong and try to fix it.