Automatic device connect detection is not working as expected

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

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

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
48/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
macos, swift

Hướng nghiên cứu

Start by reading the device detection and connection entry points in the SwiftMTP app; the issue does not name specific files or tests. Check how detection behaves when USB is first connected in charging mode and again after the user selects File Transfer. Done means SwiftMTP detects the device and opens automatically after that mode change, matching the expected behavior.

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

Mô tả

Environment

  • SwiftMTP: v1.3.2(25)
  • macOS: 26.7.3 (25G342)
  • Device: OnePlus Open, OxygenOS 16.0.5

Steps to reproduce

  1. Launch SwiftMTP
  2. Plug in the phone.
  3. It connects in "Charging only" mode (Android requires confirming USB file transfer on every connection)
  4. Unlock the phone and select "File transfer" in the USB notification

Expected

  • SwiftMTP detects and connects to the device and open SwiftMTP automatically

Actual

  • SwiftMTP is not opened automatically
  • Opening SwiftMTP manually, shows connected device

I'm not sure, if that is a bug or a feature, which doesn't exist currently.

Ngôn ngữ chính
Swift
Star
481
Fork
11
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

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 Neighbor-Z/SwiftMTP

Tất cả issue của Neighbor-Z/SwiftMTP

Issue tương tự

Thêm issue về Swift

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.