Android: a lease can get a hardware keyboard

Đang mở
#1,787 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 1 ngày

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

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
42/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
android, typescript
Lĩnh vực
mobile

Hướng nghiên cứu

Start by reading the linked agent-device issue #4786 to see whether runtime virtual keyboard support has shipped and how its API is exposed. Then locate where simlock pins and documents @agent-device/proxy; the issue is done when simlock bumps the dependency and documents requesting a hardware keyboard for one lease.

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

Mô tả

feature:blocked platform:android upstream

Problem

Leased Android emulators have no hardware keyboard: every library profile sets hw.keyboard=no. Tests that need one cannot run: physical-keyboard text entry, keyboard shortcuts, tablet layouts with the on-screen keyboard hidden.

A worker-wide config key (#1082) does not fit. It changes every emulator on the worker, a change means new seeds, and a lease cannot ask for it.

Proposal

Plug in a keyboard for one lease at runtime through agent-device (callstack/agent-device#4786): adb shell hid registers a virtual USB keyboard, which is unplugged when the session ends. No reboot, no new snapshot, no simlock config key.

Simlock side: once that ships, bump @agent-device/proxy and document it.

Written by an agent.

Ngôn ngữ chính
TypeScript
Star
705
Fork
40
Merge trung bình
12 giờ 9 phút
Pull request đã merge (30 ngày)
376

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

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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 callstackincubator/simlock

Tất cả issue của callstackincubator/simlock

Issue tương tự

Thêm issue về TypeScript

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.