I know this is probably one of the dumbest question but i can't seem to find the solution, I simply want to read the content of a file and store it in a variable without using any external library. How do we do that in React Native ? Thank you.
if you need more info about what i'm exactly trying to do: I want to store this SVG file's content to return it in a component, and using " import Bla from "./bla.svg" " is working on android and ios only and not web (I'm using expo) and i know that returning the content of the svg (ex: <svg ... /> ) works on web. I first used React-native-svg which was supposed to work on web too but I'm getting this error enter image description here