Using ngrok to generate a url via expo for beta testing - peophins-plasmas/pawsome-app GitHub Wiki

  1. Download and setup ngrok. You will need to create an account with ngrok.
  2. If you are on Windows, you can double click to unzip the file. On a Mac or Linux, unzip the file **in the terminal ** using unzip /path/to/ngrok.zip. The path may be similar to '/Users/[username]/Downloads/ngrok-stable-darwin-amd64.zip'. It is possible to unzip by clicking the file, but you may encounter issues this way. When it is finished unzipping, leave the file in the downloads folder to make the next step easier.
  3. Your terminal should still be in the downloads path. From there, run ./ngrok authtoken [insert user's authtoken from ngrok dashboard] in the terminal (this only has be to be done once).
  4. Run your project on expo. When metro starts, click on 'tunnel' rather than the defaulted 'LAN'.
  5. Use the generated url or scan the QR code on a physical device (Expo Go app is required).