Start the React Native App
井民全, Jing, mqjing@gmail.com
This is the note following the instructions from the official document[1]. In just 5 steps, you can test your first React Native App on your iPhone.
Quick
yarn global add expo-cli expo init AwesomeProject cd AwesomeProject yarn start # yarn ios
# iPhone Start [Camera] to scan the 2D code. |
Detail
1. Install Expo CLI
2. Create new React Native project
Run
yarn ios
Test it on your iPhone
Step 1: Install Expo Go
https://expo.dev/client
Step 2: Scan the 2D code on the desktop machine screen
3. Reference
https://reactnative.dev/docs/environment-setup