[Feature] Lock selected device / disable auto-switch

未关闭
#278 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
45/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
ios, rust

调研方向

The payload names no files, so start by finding where the app reacts to the device list changing and picks a new selected device when the current one disappears. Confirm the behaviour by reproducing a disconnect with two devices, or with a stubbed device list. Done means the chosen device stays selected while locked, Start is disabled while it is unavailable, and normal selection resumes on reconnect. The toggle versus Settings placement is still open, so ask in the issue before building the UI.

由索引模型根据 Issue 内容生成。

描述

enhancement
Request

Problem

When multiple devices are connected, if the currently selected device temporarily disappears from the device list (e.g. brief Wi-Fi dropout, device sleep), Impactor silently auto-switches to another available device. If the user doesn't notice and clicks Start, the app gets sideloaded onto the wrong device.

This is particularly problematic because installing to the wrong device wastes one of the limited app ID slots on a free Apple ID, which is not easily reversible.

Proposed solution

Add a "Lock selected device" toggle (or a "Disable auto-switch" option in Settings).

When enabled:

  • The device selector stays on the chosen device even if it temporarily disconnects
  • If the locked device is currently unavailable, the Start button should be disabled (greyed out) rather than silently targeting a different device
  • When the locked device reconnects, everything resumes as normal

This way users who routinely work with multiple devices can be confident the target won't change unexpectedly.

主要语言
Rust
星标
3.4k
派生
224
平均合并
34 分钟
30 天内合并 PR
2

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

claration/impactor 的其他 Issue

查看 claration/impactor 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。