React Native Typescript Boilerplate

Setup

  1. Install React Native:
  1. Create .env file:
  • navigate to project root directory and create file: config/.env
cp config/.env.example .env
  1. Install Yarn
brew install yarn
  1. Install NPM packages
yarn install
  1. Connect your Android device and build the project
  • dev build:
    yarn android-dev
    
  • prod build:
    ENVFILE=./config/.env react-native run-android --variant=release