What is React Native

Initialization

  1. Run the command

    npx create-expo-app@latest -t
    
  2. Install the dependencies and Run the App

    npm i && npm run start
    
  3. Scan the QR using camera with Expo Go already installed.

Required Dependencies

Start Server with Tunnel

  1. Starting Dev Server
npx expo start --tunnel
  1. Connect through Expo Go
  2. Scan QR

Building Your App

  1. Install the eas-cli

    npm i -g eas-cli
    
  2. Login to your EAS Account, after signing up in the website: https://expo.dev/

    eas login
    
  3. To get the .apk file.

    eas build --profile preview --platform android
    
  4. It takes time to build in the cloud, after the process link will be present in your terminal/website

Key Differences from -profile preview