Skip to content

Gentle update API - F-Droid shows endless update when update is started while foreground service of the app to be updated is active

  • Device OS and version: Android 15 / Android 15 (GrapheneOS)
  • Device model/manufacturer: emulator / Pixel 6a
  • F-Droid version (in the About screen): 1.22.0-alpha0
  • F-Droid privileged extension version (if installed): N/A

What did you do? (clear steps if possible)

  1. Install the second-latest version of an app which uses a foreground service, e.g. a media player like Auxio, Gramophone or Symphony.
  2. Start the app and play a song.
  3. Open F-Droid which shows that an update is available for the app.
  4. Start the update.

What did you expect to see?

The app is updated successfully / a message is displayed if the app cannot be updated explaining why it cannot be updated at the moment.

What did you see instead?

The update progress animation in F-Droid as well as the update notification is shown permanently. Force stopping the app to be updated and starting the update again in F-Droid works.

screen recording

screen-20250103-202101_edit

Edited by min7-i
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information