-
Notifications
You must be signed in to change notification settings - Fork 107
Feat: configure production backend and emulator setup #372
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: production
Are you sure you want to change the base?
Conversation
|
@23abdul23 please see my pr |
|
@23abdul23 I have submitted everything on time |
|
Hey @MK-codes365 Thanks for opening this PR 🚀. Mentor will review your pull request soon and till then, keep contributing and stay calm. Thanks for contributing in OpenCode'25 ✨✨! |
|
Is the app working fully, you are able to upload photos , then see them also ?? |
|
@23abdul23 I can see photos but the camera is showing black screen when I click picture |
|
Obvious behaviour for Emulator |
|
If you can generate the .apk file also and send that to me on Discord, I'll give u extra 5 points you have EOD for this. |
|
@23abdul23 how much time you can give ? |
|
END OF DAY, COZ ur PR is fine I can merge it now if u want |
|
@23abdul23 no don't merge |
issue: #368
Done
Production API Integration: Configured
app.config.ts
to use https://snapmap.onrender.com via Expo extra values.
Centralized Configuration: Created
src/apiConfig.ts
to centrally manage the backend URL and ensure consistency across the app.
Global Refactor: Modified
HomeScreen
, MapScreen, ProfileScreen, MyUploadsScreen, and others to dynamically read the API URL, removing all hardcoded localhost references.
Emulator Optimized: Verified setup for Android Studio Emulator testing using the Expo-managed workflow.
Integrity: Strictly followed PR requirements by keeping backend code untouched while implementing all configuration changes on the frontend.