'React Native, getting "Module not found: Can't resolve" error while using ImageBackground
Solution 1:[1]
You are using an external image, so the way is to give source an object with uri field instead of using require, like so:
<ImageBackground
source={{uri:'https://via.placeholder.com/500'}}>
resizeMode="cover"
style={styles.imgBackground}
>
<Text>Some text...</Text>
</ImageBackground>
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 |

