Once you are happy with your app design, it’s time to generate the code and build your final package (APK for Android or IPA for iOS).
- Downloading the Project
- Navigate to the Build tab in the App Editor.
- Click Download App.
- The system will generate a complete Expo React Native project as a ZIP file.
Preparing Your Environment
To build the app on your computer, you need:
- Node.js (LTS version recommended).
- Expo CLI: Install it globally via terminal: npm install -g expo-cli.
- EAS CLI: Install it for cloud builds: npm install -g eas-cli.
Local Setup
- Extract the ZIP: Unzip the project folder.
- Install Dependencies: Open your terminal in that folder and run:
npm install --force
- Configure Build: easy build:configure (first time only).
Generating an Android APK
To create a file you can install on Android devices for testing:
- Login to Expo: easy login.
- Configure Build: easy build:configure (first time only).
- Run Build:
eas build –platform android –profile preview
- Wait for the build to finish in the cloud. Expo will provide a QR code and a download link for your .apk file.
Publishing to App Stores
For final submission to the Google Play Store or Apple App Store, use the production profiles:
eas build --platform android --profile production
eas build --platform ios --profile production