Skip to content

fix: resolve F-Droid blockers (flag Razorpay, replace Maps, add Android)

Greeshma Kanukunta requested to merge fix/fdroid-compliance into develop

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": true from package.json

Changes Made

  • Updated DonationPage.tsx to conditionally enable Razorpay via VITE_ENABLE_PAYMENTS
  • Replaced Google Maps iframe with OpenStreetMap in AboutPage.tsx
  • Modified package.json to 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

Merge request reports

Loading