[Request] Add unattended updates

オープン
#1,440 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
android, kotlin
領域
mobile

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
Kotlin
スター
7.8k
フォーク
237
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Droid-ify/client のほかの issue

Droid-ify/client の issue をすべて見る

似ている issue

Kotlin の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。