I am using a localhost server for my app development on expo. I get this error on my android device:
My server and api works fine as I have tested it on postman. It works well in the browser too. I am already using my ip address in the fetch function instead of localhost.
The fetch also works fine on genymotion android emulator. The only issue is on my actual android device.