Viewing your app on your phone
In order to view your React Native project on your device during development, we need to start the Expo development server:
- In the command-line terminal, make sure that you’re in the project directory:
cd path/to/my-project
- Once you’re in
my-project
, you can run the following command to start the development server:npm start
- This will show you some information about the developer server in the terminal:
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ █ ▄▄▄▄▄ █▄▀▀▄▄▀▀█ █ ▄▄▄▄▄ █ █ █ █ ███▄█ ▀...