[Request] True zero-interaction background updates during sync on Android 12+ (Session installer)
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 52/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Ambito
- mobile-dev
Direzione di ricerca
Start with SyncWorker and the Settings > Sync & Updates flow, then inspect the app manifest for installer permissions. The feature needs an opt-in setting, Android 12+ installer-of-record and user-action checks, and a fallback notification path. It is done when Droid-ify-installed apps can update silently during sync while apps requiring user action still produce a standard notification.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Guidelines
- I have searched the issue tracker for open and closed issues that are similar to the feature request I want to file, without success.
- I'm not requesting app support for a specific repo — that's up to repo maintainers
- I understand this might not get built (Droid-ify is maintained by a single person)
Problem
Right now, when using the Session installer on Android 12+, background updates are only semi-automatic: Droid-ify syncs in the background and posts a notification, but I still have to open the app and tap "Update all" to actually download and install them.
On GrapheneOS (where short auto-reboot timers make ADB/Root workarounds impractical), it would be great to have true "set and forget" background updates out of the box—just like the official F-Droid client, Neo Store, and Obtainium do.
Proposed solution
Add an option in Settings -> Sync & Updates to automatically download and install updates in the background during the sync job.
Since Android 12+ (API 31+) allows the original installer of an app to update it silently without user prompts, Droid-ify can do this natively during SyncWorker for any app it originally installed:
- Declare
<uses-permission android:name="android.permission.UPDATE_PACKAGES_WITHOUT_USER_ACTION" />in the Manifest. - Check if Droid-ify is the installer of record (
getInstallSourceInfo), and if so, usesetRequireUserAction(USER_ACTION_NOT_REQUIRED)on theSessionParamsto commit the update silently in the background. - If an app was installed by another source (or requires user action), just fall back to a standard notification instead of failing/crashing.
Extras
Benefits
- True "Set and Forget" UX: Matches the zero-interaction background update experience of the official F-Droid client, Neo Store, and Obtainium.
- No Root / No Shizuku needed: Works out of the box on stock Android 12+ and GrapheneOS across reboots.
- Minimal cognitive load: Users only get a passive notification "3 apps updated in the background" (or nothing at all, if configured), keeping Droid-ify's clean Material You philosophy.
Related to #1275, #1273, #900, and #1158.
- Lingua principale
- Kotlin
- Stelle
- 7.7k
- Fork
- 233
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Droid-ify/client
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
enhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
Tutte le issue di Droid-ify/client
Issue simili
-
[Submission] 招商银行Apertasubmit-adaption submit-adaption-pre
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
BetterAndroid/android-notification-icon-project#848 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
"Tick" is confusingApertabug
Difficoltà 1/5 1-3 ore Idoneità per principianti 70/100
orgzly-revived/orgzly-android-revived#1132 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
commons-app/apps-android-commons#7275 ·
I maintainer di solito rispondono entro 1 giorno
-
documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
liberation-data/drivine4j#682 ·
I maintainer di solito rispondono entro 1 giorno
-
documentation good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
developmentwithyash/yaan#14 ·
I maintainer di solito rispondono entro 2 giorni