lancygoyal / expo-app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Expo Mobile App

This repo contains code for the Mobile app, built using React Native.

Local Development Setup

  1. Clone the repository
  2. Create a .env file with the following environment variables.
# For local server
# SERVER_HOST=http://localhost:3000
SERVER_HOST=http://localhost:3000

yarn install && expo start

Start running on an Android / iOS simulator:

yarn expo:ios
yarn expo:android

Lint checking and autofix:

  • Prettier:
yarn format:check
yarn format:fix
  • Eslint:
yarn eslint:check
yarn eslint:fix

Standalone Build for Native Testing

Run expo login first to login in to your expo account

  • Build Android with prevew profile:
yarn build:android:preview
  • Build iOS with prevew profile:
yarn build:ios:preview

App built with the preview profile can only run on an simulator devices. Config eas.json file to add more profile.

About


Languages

Language:TypeScript 52.6%Language:JavaScript 47.3%Language:Shell 0.1%