Home

Published

- 1 min read

how to change expo to tunnel

img of how to change expo to tunnel

The solution for this is noted below

how to change expo to tunnel

Solution

   // use:
expo start --tunnel
// you can make it by default by going into package.json in your project and
// by changing lines:
"scripts": {
    "start": "expo start",
// to:
"scripts": {
    "start": "expo start --tunnel",
// and from now on in terminal instead of "expo start --tunnel" you can use:
npm start

Try other methods by searching on the site. That is if this doesn’t work