fix: resolve F-Droid blockers (flag Razorpay, replace Maps, add Android)
Overview
This MR resolves issues blocking the app from being accepted into F-Droid by removing or replacing non-compliant components while keeping changes minimal.
What does this MR do and why?
F-Droid requires apps to be fully open-source and buildable without proprietary dependencies. This MR addresses the following blockers:
- Feature-flags Razorpay integration so it is excluded from F-Droid builds while retaining functionality for other builds
- Replaces Google Maps embed with OpenStreetMap to remove proprietary services
- Updates project visibility by removing
"private": truefrom package.json
Changes Made
- Updated
DonationPage.tsxto conditionally enable Razorpay viaVITE_ENABLE_PAYMENTS - Replaced Google Maps iframe with OpenStreetMap in
AboutPage.tsx - Modified
package.jsonto remove private flag
Notes
- Razorpay is preserved but disabled in F-Droid builds
- No unnecessary refactoring was performed
- Changes are strictly scoped to F-Droid compliance requirements
Testing
- Verified app builds successfully
- Confirmed Razorpay loads only when enabled via environment flag
- Confirmed map renders using OpenStreetMap
Edited by Greeshma Kanukunta