Hans-Christoph Steiner closed issue #1: Official client should adopt the `updater` library. at F-Droid / update-channels

Hans-Christoph Steiner
2024-01-18T11:02:33Z

This looks great. I haven't had a chance to dive right into the code yet, but we should consider dog fooding the updater library in the official F-Droid client at some point in the future. This will result in reduced duplication of code. Also, if/when a new format is released in the future then the F-Droid client will definitely need to support it. By using this library, we will also automatically ensure support for any users of this library at the same time (e.g. a fictitious Java CLI port of mvdan's fdroidcl).

Potential problems: The minimum dependence on Android 11. This doesn't mean that the library itself has to be changed to support API 10 like the client currently does. However, it does mean that we need to wait until the client bumps its min SDK version. This may happen at some point soon given the support library v26.* is increasing the min SDK to 14. When we have a need to bump the support libraries to >= 26, then we could consider adopting this library.

One thing that is a little unfortunate is that the library wont be able to be used to support an "F-Droid Light" (see fdroidclient#48) because the whole point of that project is to target a low min SDK in perpetuity.