Once you've set these up, you can launch your app on an Android Virtual Device by running npm run android, or on the iOS Simulator by running npm run ios (macOS only).
IPHONE SITE EMULATOR MAC HOW TO
If you want to run your app on the iOS Simulator or an Android Virtual Device, please refer to the instructions for "React Native CLI Quickstart" to learn how to install Xcode or set up your Android development environment. Running your app on a simulator or virtual deviceĮxpo CLI allows you to run your React Native app on a physical device without setting up a development environment. If you're curious to learn more about React Native, check out the Introduction to React Native.
Expo init AwesomeProject cd AwesomeProject yarn start # you can also use: expo start Copy