-
Notifications
You must be signed in to change notification settings - Fork 108
Open
Labels
Description
Description
Create a production-ready Android APK for the SnapMap mobile application using Expo. The build must be configured to use the deployed backend API hosted on Render.
The APK should be installable on physical Android devices for testing and demo purposes.
Note : Use production branch to build the apk. Take .env from Me
Backend Configuration
The app must use the following backend base URL:
API_BASE_URL = https://snapmap.onrender.com
This value must be injected via Expo configuration and accessed inside the app using extra values.
Scope
- Configure Expo app to use the production backend URL
- Ensure
API_BASE_URLis defined inapp.config.ts - Build a release APK using Expo tooling
- Verify the APK works correctly on a physical Android device
Configuration Changes
app.config.ts
Add the backend URL under extra:
extra: {
API_BASE_URL: "https://snapmap.onrender.com"
}Ensure the app reads this value using Constants.expoConfig?.extra.
Build Requirements
- Use Expo-managed workflow
- Generate an Android APK (not AAB)
- Build should succeed without local environment hacks
- No hardcoded localhost URLs anywhere in the app
Output
- A downloadable
.apkfile - Build logs (Expo / EAS)
- Confirmation that the APK installs and runs correctly
Acceptance Criteria
- APK builds successfully
- App communicates with the production backend
- Core flows (auth, map, photo upload) work
- No crashes on app launch
- API base URL is not hardcoded in source files
Attach a screen recording of the actual APK.
Notes
- Use EAS Build or Expo classic build
- This issue does not involve backend changes
- Environment-specific config should be clean and reusable