ImranR98 / Obtainium

Get Android app updates straight from the source.
https://obtainium.imranr.dev
GNU General Public License v3.0
7.2k stars 160 forks source link

Gentle background updates #1105

Open hasali19 opened 9 months ago

hasali19 commented 9 months ago

Currently when an app is updated in the background, the app will be killed if it is currently running. This isn't great when it closes while I'm in the middle of using it.

Android 14 introduces a new API to allow 3rd party app stores to defer package installation until the system decides that it won't be disruptive to the user. Obtainium should use this API to make background updates less disruptive.

Couchy commented 8 months ago

Yes, please. The new requestUserPreapproval() method will also allow installing even when Obtainium itself is in the background.