Device App Management and Uninstall Automation

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

メンテナーはふだん 2 日以内に返信

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
android, java, kotlin, react, typescript

調査の方向性

Start by reading the existing app uninstall flow referenced by issue #54, then trace the device page, configuration editor, agent package reporting, and server command handling. The proposed work spans agent reporting, per-device state and history, a global package catalog, configuration-driven removal, and new console views. Done means installed apps and change history are visible, catalog entries can be selected in configurations, and install or uninstall commands report their status and result.

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

説明

enhancement
Area

Admin console (web)

The problem

There is currently no way to see which apps are installed on a device. The console can only send an uninstall command by typing the package name by hand (see #54), and the configuration editor only lets you pick apps from the Library. Because of this:

  • an admin cannot check what is actually installed on a device;
  • there is no record of who installed or removed an app, or when;
  • apps that were installed outside the Library (for example by the user, or by a previous configuration) cannot be selected in a configuration, so "automatically remove app X" cannot be set up.
Proposed solution

1. "Applications" tab on the device page

  • Installed now. A table with app name, package, version and an "Uninstall" button in each row (it sends app.uninstall and needs the app.silentInstall capability). The tab also has an "Install" action: pick an app and version from the Library and send app.install.
  • Change history below the list. Columns: event (Installed / Updated / Removed), app and version, date and time, and the initiator (User (console admin) / Agent / Configuration / System / Unknown). Filters by app and event type.
  • Command status and result are shown right in the tab (pending / done / error).

2. Agent and server

  • The agent reports the list of installed packages (package, name, version, versionCode, system app or not) on package add/remove/replace events.
  • The server stores the current state per device and an event log (device, package, version, event type, timestamp, initiator). Commands sent from the console record the admin who sent them.

3. Global catalog of apps seen on devices

  • The server keeps a catalog of all packages ever reported by any device.
  • In the configuration editor, the app picker also offers this catalog, not only the Library. This allows a rule such as "Remove" (action=2) for an app that is not in the Library, and also "Do not install".
  • Configuration-driven automatic removal queues app.uninstall on devices where the app is present (this is the part #54 left out of scope).
Alternatives considered

No response

Before submitting
  • I searched existing issues and discussions for the same idea.
主要言語
Java
スター
44
フォーク
25
平均マージ
1日 13時間
マージ済み PR(30日)
80

環境構築

はじめの一歩

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

MDMesh-app/MDMesh のほかの issue

MDMesh-app/MDMesh の issue をすべて見る

似ている issue

Java の issue をもっと見る

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

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