I am trying to load a static json file locally in my expo managed app as follow.
useEffect(()=>{
getData()},['']);
function getData(){
fetch('../Audio/AudiosObj.json',{'Content-Type':'application/json','Accept': application/json'}).then((data)=>(console.log(data)).catch((err)=>(console.log(err)) }
After running the app I got an error with message "Network request failed". Please what could be the problem?