These instructions assume that you are using an apple Mac.
These are not required however they can be used as an alternative to eas for creating builds, and simulators & emulators can be useful for development
Here you will find recommendations for using vscode
M1 mac users may need to open Xcode with rosetta
Note: Follow the android studio setup recommended by react native. At the time of development the SDK build tools version used was 28.0.3
as indicated in the build.gradle
.
You will need to login / create a dockerhub account
Homebrew will be used to install other packages
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
M1 Mac users may need to edit their .zshrc file
nvm is optional, but it will make it a lot easier to install and manage different versions of Node on your mac.
brew install nvm
M1 Mac users may need to edit their .zshrc file
The recommended version is v16.13.1
nvm install 16.13.1
npm install -g eas-cli
Yarn is a package manager recommended by facebook
brew install yarn
It is not necessary to install typescript globally as it is installed as a dependency. However given that the project is a mono-repository it is crucial that the version of typescript is consistent throughout. This can be checked in the root directory with:
yarn list typescript
If you install a package and adjust the typescript version from an upgrade operation remember that typescript has / will change in the future. Make sure you have a single version across the mono repository by running:
cat yarn.lock | grep typescript
If there are multiple versions of typescript it may be necessary to revert:
git checkout origin/master -- yarn.lock // this is only necesarry if you have typescripting errors
There are additional steps for M1 mac users here