I'm trying to build a release version of my app on android.
Followed the necessary steps from creating a signed apk through react native docs. Once I install the apk on my device, the initial page loads but I get no response when I try to do an action calling the api.
I've ran my local server and have connected my app to the same IP with the server I'm running on.
The debug version of my app is doing well and I'm confused as to why this is happening. I'm using axios for the calls and have set my url to something like this: http://192.168.12.24:8000/api/
.
Do you have ideas on what could have gone wrong? Does react native not allow using local server in a release app?
https://stackoverflow.com/questions/42189301/axios-in-react-native-not-calling-server-in-localhost – Shivam Kumar Jan 29 '20 at 14:19