AldonIsenberg11 / udemy-react-native

React Native

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use react-devtools to debug

Testing on real Phone (Android & IOs)

  1. Download Expo Go from the app store on phone (android & IOS)
  2. Run npm run start in the terminal to spin up a new session
    • Should create a QR code:
    • qr-example
    • --> Alternatively you can run npm run android or npm run ios to target specific instance.
  3. Scan QR code, now any local changes made to code will show up (hot-reloaded) on phone.

*** To reload the app on local development: ***

Hit r on the terminal to refresh all bundles


Local Development for emulators

iOS

Finder -> left panel go to Applications -> right click on Xcode and click show contents -> Contents/Developer/Applications/Simulator.app

Example:

simulator-example

Android

Open Android Studio, Go to Virtual Device Manager:

android-example

Hit Play

android-example-2

About

React Native


Languages

Language:JavaScript 100.0%