Skip to content

Latest commit

 

History

History
103 lines (61 loc) · 2.48 KB

index.md

File metadata and controls

103 lines (61 loc) · 2.48 KB

These instructions assume that you are using an apple Mac.

Apps to install:

Required:

Recommended:

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


Packages to Install via Command Line:

Homebrew

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

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


Node

The recommended version is v16.13.1

nvm install 16.13.1

EAS CLI

npm install -g eas-cli

Yarn

Yarn is a package manager recommended by facebook

brew install yarn

Typescript

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