[Request] Add unattended updates

Abierto
#1,440 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
25/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
android, kotlin
Área
mobile

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
Kotlin
Estrellas
7.8k
Forks
237
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Droid-ify/client

Todos los issues de Droid-ify/client

Issues similares

Más issues de Kotlin

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.