Skip to content

DanthonyPabon/lastminute-test

Repository files navigation

react-native-danthony-pabon-test

Mobile app test

About The Project


Requirements

Follow this guide https://reactnative.dev/docs/environment-setup


Commands

yarn

lint run the typescript compiler and the eslint showing warnings and errors.

ios run app on ios emulator and open it if it's not running

pod install ios pods dependencies


Instalation and usage

Install dependencies React Native Dependencies

You can find more documentation on: https://reactnative.dev/docs/environment-setup

  1. brew install node
  2. brew install watchman
  3. brew install --cask adoptopenjdk/openjdk/adoptopenjdk8

Install app dependencies

  1. run yarn or npm i to install dependencies
  2. run yarn pod or npm run pod to install ios dependencies. Remember to install CocoaPods first, sudo gem install cocoapods.
  3. configure env file if necesary

run manually

  1. yarn android (or npm run ios/android) to launch the app. Keep in mind that you have to launch android emulator manually

run with vscode (automatically)

  1. Install react native tools
  2. run debug android (with emulator open or mobile connected) or debug ios

Build with XCode

React-Native Install

Dependencies

  • nvm
  • xcode

## Troubleshoots

1. Sometimes on android for compile you need to add this to your gradle.properties file "org.gradle.java.home=/Applications/Android Studio.app/Contents/jre/jdk/Contents/Home"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published