Automatic device connect detection is not working as expected

Aperta
#21 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
48/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
macos, swift

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Swift
Stelle
481
Fork
11
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Neighbor-Z/SwiftMTP

Tutte le issue di Neighbor-Z/SwiftMTP

Issue simili

Altre issue su Swift

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.