When I run my React Native project on my physical device all requests are working fine, and I'm receiving responses for each request. But when I run the project on my emulator I can just see the payload,
I'm receiving nothing. What will be the cause for such a thing? Why this works on my physical device and not in my emulator? Below is my axios request body,
import axios from 'axios';
export const http = axios.create({
baseURL: 'https://02de-113-59-214-59.ap.ngrok.io/api',
headers: {
'Content-type': 'application/json',
Accept: 'application/json',
},
});
Update: Actually the response received after a very long time what will be the cause for this?
Really appreciate it if somebody could help me thanks. Have a nice day
