Skip to content

huynextlevel/rn-boilerplate

Repository files navigation

React Native Boilerplate

React Native React Navigation V6

React Native Boilerplate is a starting point for React Native application. This project is configured with redux. Uses latest version of react-navigation (v6.0).

Features

Prerequisites

Getting Started

  1. Clone this repo, git clone https://github.com/huynextlevel/rn-boilerplate.git <your project name>
  2. Go to project's root directory, cd <your project name>
  3. Remove .git folder, rm -rf .git
  4. Use React Native Rename to update project name $ npx react-native-rename <newName> -b "bundle_identifier"
  5. Run yarn to install dependencies
  6. If your laptop still use pod installed from gem. Please run:
  • bundle install
  • cd ios && pod install
  1. If your laptop use pod installed from hombrew. Run cd ios && pod install

  2. Start the packager with yarn start

  3. Connect a mobile device to your development machine

  4. Run the test application:

  • On Android:
    • Run react-native run-android or Use Android Studio (Recommended)
  • On iOS:
    • Open ios/YourReactProject.xcworkspace in Xcode
    • Hit Run after selecting the desired device
  1. Enjoy!!!

Contributing

PRs are welcome

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published