Open
Description
Does react-native-htmlview support <img>
tags with images local to the project?
I can't seem to get it to work with any path, even when they work as expected when passing them to a RN <Image>
element.
So this works:
<Image source={require('../Images/logo.png')}>
but this doesn't:
const htmlContent = `<img src="../Images/logo.png">`;
<HTMLView value={htmlContent} />
I'm getting
Failed to get size for image: ../Images/logo.png