React Native Basic project setup
npm install -g expo-cli
expo whoami
expo register
expo login
expo init
-
clone repo
-
npm i
& alternatively:npm install --global expo-cli
-
npm start and open localhost
-
connect Mobile device
-
setup expo app from AppStore
-
select Tunnel or LAN and scan QR code
-
check result http://localhost:19002/ & on mobile
INFO 11:21 Starting Metro Bundler on port 19001. INFO 11:22 Tunnel ready. Info 11:39 Building JavaScript bundle: finished in 406ms.
React Native packager is running. Visit documentation
-
stop the bundler => Ctrl + C
- Homebrew (install first)
- Node (with Homebrew)
- Watchman (with Homebrew)
- The React Native CLI
- Xcode
- Java SE Development Kit 14
- Python
- NodeJS
- React Native CLI
npm install -g react-native-cli
react-native --version
npm install -g create-react-native-app
react-native init rn-starter
npx --package react-native-cli react-native
npm start
npm run eject