Setting up mobile development environment (on Mac OS)¶
This will follows mostly https://reactnative.dev/docs/environment-setup but few differences because of Mac OS and TypeScript template.
Install NodeJS¶
Use LTS 14.xx version
Install watchman¶
brew install watchman
Install Java Development Kit¶
brew tap homebrew/cask-versions
brew install --cask zulu11
Install Android Studio¶
See https://reactnative.dev/docs/environment-setup
Install Apple's XCode from the store¶
Accept licenses using sudo xcodebuild -license
Install cocoapods¶
sudo gem install cocoapods
Create initial project¶
npx react-native init AwesomeTSProject --version 0.68.2 --template react-native-template-typescript