[Request] Add unattended updates

Aperta
#1,440 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
android, kotlin
Ambito
mobile

Direzione di ricerca

The issue names no file or test, so start by finding where the app currently performs package installs and auto-updates in the Kotlin Android code. Read the linked PackageInstaller.SessionParams documentation to see how setRequireUserAction, InstallConstraints and setRequestUpdateOwnership fit into that flow. Done would mean a maintainer agrees on the approach and the install path can run unattended on a supported Android version; the scope is still open, so confirm it in the thread first.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement
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

Auto updates need shizuku or root. This is kind of annoying. Thus, please add unattended updates

Proposed solution

Android offers an API for that.
setRequireUserAction(USER_ACTION_NOT_REQUIRED) can be used for that
(See: https://developer.android.com/reference/kotlin/android/content/pm/PackageInstaller.SessionParams )

Extras

InstallConstraints and setRequestUpdateOwnership(true) might also be needed
No response

Lingua principale
Kotlin
Stelle
7.8k
Fork
237
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Droid-ify/client

Tutte le issue di Droid-ify/client

Issue simili

Altre issue su Kotlin

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.