keith-kurak / candycounter

The finished lesson project for React Native: From the Beginning Part 3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Example for React Native: From the Beginning Part 3 video

Download with the Github client for Windows or MacOS, or download the ZIP directly from this site.

Prerequisites for running the example

  • Node.js installed
  • Yarn is installed (you could go without it, of course, but directions assume you have it)
  • Expo CLI is installed globally (npm install -g expo-cli)
  • The Expo app is installed on your phone (ignore if you're using the iOS simulator) Also see Expo's directions for getting started

Starting the bundler for the first time

  1. In the terminal, cd to the project directory.
  2. Run yarn to restore dependencies.
  3. Run expo start to start running the app.

Running the app in the iOS simulator or Android emulator

  1. Once expo start kicks off and you see the QR code on the screen and directions for running, press i for the iOS simulator or afor the Android emulator.

Running on an Android device

  1. Open the Expo app on your device.
  2. Go to the projects tab.
  3. Open up the QR code scanner and scan the code that appears in the terminal.

Running on an iOS device

  1. Once expo start kicks off and you see the QR code on the screen, press s to create an account or sign into an existing account.
  2. On the iOS Expo app, sign into the same Expo account.
  3. In the projects tab, you'll see your currently streaming app. Tap on the app and it will start running.

About

The finished lesson project for React Native: From the Beginning Part 3


Languages

Language:JavaScript 100.0%