Device App Management and Uninstall Automation

Đang mở
#113 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 2 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
android, java, kotlin, react, typescript

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.
Ngôn ngữ chính
Java
Star
44
Fork
25
Merge trung bình
1 ngày 13 giờ
Pull request đã merge (30 ngày)
80

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của MDMesh-app/MDMesh

Tất cả issue của MDMesh-app/MDMesh

Issue tương tự

Thêm issue về Java

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.