Skip to content

Initial "swap" UI implementation

This is a major rejigging of the "Local Repo" user interface, to make it easier for lay people to use F-Droid to swap their apps with their peers. I wont mention too much here, because the individual commits have more detailed information. However, it is worth noting that major things that probably deserve testing are:

  • Going through the proccess of creating a swap
  • Scanning the QR code from another users F-Droid "swap" screen
  • Scanning the QR code from their barcode scanner
  • Entering the URL shown below the QR code into the browser and following the steps
  • Installing an app from the "Swap" success screen
  • Using NFC to add swap (I couldn't test this as only have 1 NFC device in the house)

I've actually had trouble installing from the swap screen after upgrading to Android 4.3.1 (CM) on my Nexus 4. However that issue seems to be present on the current stable "Local Repo" implementation too, so will stop banging my head against the desk in the interest of getting this initial swap implementation out.

Subsequent work will go towards refining edge cases. I'm cataloging these in my fork of fdroidclient on github. The type of things which I still need to work on include :

  • i18n all of the strings
  • Enabling NFC
  • Dealing with WIFI disconnects
  • Support WIFI AP
  • Adding back the "search" functionality in the "create swap" screen
  • ... and no doubt others will arise ...

A major feature which is missing is Bluetooth, but some earlier work has been done on that which will make it less of a burden to implement. As this is getting reviewed for merging, I will start working through these other issues.

Merge request reports