React Native
React Native
Setup Overview
Development Tools
Base Setup
Install base environment
brew install node
brew install watchmanAndroid Setup
Install Java 11 JDK
Install Android Studio
Android environment setup instructions
https://reactnative.dev/docs/environment-setup
Refer to: React Native CLI Quickstart -> macOS -> Android
iOS Setup
Install iOS environment
Manually install Xcode via the Apple App Store
Install Cocoapods (iOS)
iOS environment setup instructions
https://reactnative.dev/docs/environment-setup
Refer to: React Native CLI Quickstart -> macOS -> iOS
React Native CLI
Run React Native CLI commands
Show system and React Native info
Projects
Create Project
Initialize new project
Run Server
Start server (and optionally reset cache)
Install and Run App
Build, install and run app on iOS Simulator / Android Emulator
Emulator / Simulator Commands
Show development / debug menu
CMD + M (Android)
CMD + D (iOS)
Shake (Hardware Device)
Reload application
R + R (Android)
R (iOS)
Android Tips
Unable to connect to remote debugger
Open in browser first
Configure reverse socket connection for react native server
iOS Tips
Install pods (run from within project directory)
Last updated