Closed commencementtech closed 1 week ago
Hi @commencementtech.
Thank you for raising this issue and for your patience. I understand the confusion regarding where to set the API_URL
for Axios calls. Here's how you'd be able to resolve this...
We have used react-native-config package for managing environment variables to the app.
You can set your environment variables (API_URL
, ENV
) in the .env
file. Also, you can add more variables there.
Please take a look at our documentation for more details (here).
From where can I set this API_URL in the code, as it's not found anywhere in the system?