I am trying to view the snapshot using the Image component for my flatlist however the image is not displaying and i believe i cannot access the file. "item.picture" returns the file path for the image "file:///data/user/0/host.exp.exponent/cache/AirMapSnapshot634775680925913876.png" but will i need to remove everything before the image file to be able to view the image?
The snapshot is saved in this location:"file:///data/user/0/host.exp.exponent/cache/AirMapSnapshot634775680925913876.png"
My Code:
const renderItem = ({ item }) => { return (<View><Image source={{ uri: item.picture}} /></View> ); };