Reducing our third-party library patches
Our patches to third-party libraries came to 11,074 lines. We checked whether each one was still needed and looked for ways to do without it.
We use external libraries for screens, keyboards and maps, with our own edits to them. That solves the problems we need solved right now, but every time we update a library we have to check that our edited code still fits. Over time it gets hard to tell whether a patch is still needed or is just left over because it once was.
Managing the patch list better wasn't the answer. The easier it is to manage, the more we may come to accept patches as normal. So we set an order. First see whether we can do without the patch. If we need one, ask in turn whether the library's public API can solve it, then whether simple app code can. Only when none of the three works do we keep the needed part as a patch.
That took 11,074 lines down to 3,072. We moved some chart display and screen-dismiss behavior into app code.
Written from that day’s point of view, using the documents and change history of the time. Published 2026.12.01.
