Skip to content

A brief demonstration setting up / creating a simple cross platform mobile application using React Native

Notifications You must be signed in to change notification settings

egrep6021ad/ReactNativeFundamentals

Repository files navigation

DOCS:


  1. Open the whole "ReactNativeFundamentals" folder in VS code.

Android:

  1. From the ReactNativeFundamentals directory, open the directory "android" in Android studio
  2. Press the play button in Android Studio to run the app
  3. In VS code press "command + j" to open a new terminal
  4. In the terminal type the command "npx react-native run-android"

Iphone:

  1. In VS code press "command + j" to open a new terminal
  2. Option 1: - Type the command "xed ios" - This will open the ios folder in Xcode - Press the xcode play button to run the app
    Option 2: - Type the command 'npx react-native run-ios --simulator="iPhone 14"'

Either scenario, a terminal should open to run the "Metro Server" This needs to stay open to see live updates and changes in the app while developing. Press "r" in the terminal window at anytime to reload the app.