Where is the expo server running when I develop my app and test on my iPhone in my home network. Is it running on my router?
When you run
expo start (or
npm start or
yarn start which just run
expo start. e.g.:
$ expo start Starting project at /Path/To/your-app Expo DevTools is running at http://localhost:19002 Press d to open DevTools now, or shift-d to always open it automatically. Starting Metro Bundler on port 19001. Tunnel ready. exp://192.168.5.6:19000
If your app needs to make network requests to a server (e.g. for checking the temperature if it is a weather app) then that is completely separate from the above. Your code would tell the Expo app to fetch the data from the server specified in the code.
I hope I have explained things clearly enough
That explains it perfectly.
This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.