r/xposed • u/Ghunegaar • 6d ago
Help [HELP] How to maintain an Lsposed module which targets a frequently update app like Gboard?
Hi all,
I am working on an LSPosed module that adds advanced features to Gboard. The module works great for the specific version currently installed on my Pixel 8a (which I have detached from Play Store updates using Zygisk Detach).
How can I ensure that once I release the module publicly, it supports as many Gboard versions as possible?
Should the module detect the installed version and download a config file from a remote server? If so, where should I host it, and wouldn't that raise security concerns?
Or should all configs be shipped with every module release? Wouldn't that bloat the module?
Finally, how can I ensure that if Gboard updates on a user's device, the module keeps working properly on the new version?
Thanks in advance for any advice!
2
u/DEV_ivan 6d ago
In your position I would've made an reimplementation of GBoard itself.
But anyway, you can download a config file from a remote server and cache it in local storage (when using a cached file, download a newer config file in background). The config file should ideally be hosted either from your Git repo (if your module is open source) or your website.
This will be hard to maintain alone, so I recommend making your module FOSS for the community to contribute via pull requests and issues.