NicholasKoldys / react-native-baseline

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React Native Baseline

Note: Make sure you have completed the React Native - Environment Setup instructions till "Creating a new application" step, before proceeding.

Process:

  1. Android Phone Started. Required for steps below.
  2. Metro Server Bundler

    triggers build system to pull packages.

    npm run dev
    --> npx react-native
  3. Run the app installer.

    initializes install of the app to the android emulator ( can take a while ).

    - For Android
    --> npx android
    - For IOS
    --> npx ios

If everything is set up correctly, you should see your new app running in your Android Emulator or iOS Simulator shortly provided you have set up your emulator/simulator correctly.

This is one way to run your app — you can also run it directly from within Android Studio and Xcode respectively.

Development

  1. Open src/Main.mjs.

  2. For Android: Press the R key twice or select "Reload" from the Developer Menu (Ctrl + M (on Window and Linux) or Cmd ⌘ + M (on macOS)) for "Element Inspecting".

    For iOS: Hit Cmd ⌘ + R in your iOS Simulator to reload the app and see your changes!

Learn More

To learn more about React Native, take a look at the following resources:

About

License:MIT License


Languages

Language:JavaScript 79.3%Language:Kotlin 6.5%Language:Objective-C 5.8%Language:Ruby 5.5%Language:Objective-C++ 2.0%Language:TypeScript 0.9%