I am attempting to load a static json file from a local source in my Expo managed application using the following code snippet.
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)) }
Upon running the application, I encountered an error message stating "Network request failed". Can you provide any insights into what may be causing this issue?