Pre-configure gpodder sync via managed configuration (device owner / MDM)
Checklist
- I have used the search function for OPEN issues to see if someone else has already submitted the same feature request.
- I have also used the search function for CLOSED issues to see if the feature was already implemented and is just waiting to be released, or if the feature was rejected.
- I will describe the problem with as much detail as possible.
- This request contains only one single feature, not a list of multiple (related) features.
App version
3.12.1 (F-Droid)
Feature or improvement you want
Let a device owner / MDM pre-configure gpodder synchronization (server URL, username, password, device id) through Android's managed configuration (app restrictions), so a managed device syncs from first launch without anyone opening the login dialog. Only these four keys; if they are absent the app behaves exactly as today.
Why should this be added?
On managed Android tablets (schools, libraries, families running a device-owner app) the devices are rolled out and controlled remotely, and typing sync credentials on each tablet by hand is the one step that cannot be automated today. Managed configuration is the standard Android mechanism for this and is how Chrome, Firefox and most enterprise apps take settings from an MDM. Each device gets its own account from the MDM, so listening history stays per user.
Screenshots / Drawings / Technical details
Working patch (about 100 lines: app_restrictions.xml, a manifest meta-data entry, and a small class applied at app start and on ACTION_APPLICATION_RESTRICTIONS_CHANGED): https://github.com/mortonbaker/AntennaPod/tree/managed-config-develop. Tested on Samsung SM-T510 (Android 11) with a device-owner app pushing the restrictions. I will open the PR once this is triaged. Technical note: this issue and the patch were written with AI assistance (Claude) and reviewed by me.
Source: AntennaPod/AntennaPod