react native-tutorial

First Application with Expo

To create a new React Native project with the name “FirstProject,” issue the instructions below using Expo CLI:

expo init FirstProject
cd FirstProject
npm start

After that it will let you choose the templates. Let’s go with blank template. You can launch a development server with this. Install the app on your iOS or Android phone, then join the same wireless network as your PC to use it. Use the Expo app on Android to access your project by scanning the QR code from your terminal. Use the Camera app’s built-in QR code scanner on iOS.

After installing Android Studio or Xcode, run the following command to launch your app on an actual or virtual Android device using USB:

npm run android

Or by launching the iOS Simulator (available exclusively for Mac OS):

npm run ios


Leave a Reply

Your email address will not be published. Required fields are marked *