The app loaded but I’m getting TypeError: Network request failed. I never had this problem before. It just randomly appeared one day. I have not made any network related changes to my code. This is what was shown in the terminal when I’m trying to run my app on android (both emulator and physical device through Expo Go). Only APIs I have are mostly from Supabase
Error from emulator
Error from terminal
I’ve updated all packages after receiving the error.
Restarted my PC
Added [ "expo-build-properties", { "android": { "usesCleartextTraffic": true } } ]
in case its a http problem
I even entered http://<ipv4_address>:8081 in my emulator browser and it returned something.
I would appreciate any help since my deadline is next week. Thanks
William Teh is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.