Skip to content

feat(wearables): 统一设备管理、小米通信与上课前提醒 - #195

Open
steven42121 wants to merge 1 commit into
HeZeBang:masterfrom
steven42121:codex/xiaomi-wearables
Open

steven42121 wants to merge 1 commit into
HeZeBang:masterfrom
steven42121:codex/xiaomi-wearables

Conversation

@steven42121

@steven42121 steven42121 commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

设置中的穿戴入口统一管理设备,保留上游 Apple Watch 在线/离线付款设置,Android 增加小米设备列表、连接权限和通信状态。

  • 手机端课表/考试/DDL 快照协议、七天课程提醒、重启恢复及冷进程投递。
  • 离线码和 SM2 凭证协议默认关闭,凭证导出需要用户明确确认;消息日志不打印载荷。
  • XMS SDK 使用上游应用身份,未引入 RCCE 开发签名。生产配对仍需要小米侧认可上游 APK 的签名登记。
  • vela_app 当前是连接和消息诊断示例,含签名库;没有完整课表/付款页面。此 PR 不声称已经交付完整腕端付款体验,也不包含华为伴侣。

验证:静态分析通过;762 项 Flutter 测试通过(包含原有 Apple Watch 测试、设备匹配/列表存储与 SM2 fixture);Android debug APK 构建成功。

兼容性:三个拆分 PR 都直接基于上游 master(aaefb6a),互不依赖;保留上游应用 ID、签名、更新渠道、pubspec.yaml/lock、发行工作流和 Apple 平台实现。Android APK 实测 manifest 保持 API 24 最低要求

上课前提醒的范围

本 PR 已包含 RCCE 的上课前提醒:可选择提前 5/10/15/20/30 分钟,按未来七天的教务课程、自定义课程和考试安排本地闹钟;触发时显示手机通知并尝试投递至已连接的小米设备,支持冷进程投递、重启/时间变更/应用更新恢复。入口位于已连接设备的设置页。系统调度和厂商服务可能延迟或拒绝投递,不能保证精确到秒或所有手环都已实测。

#194 的灵动通知显示当前/下一课程状态;这里提供课前提醒与穿戴投递,二者范围不同。消费(扣费)提醒已单独提交至 #197,不混入此分支。

Copilot AI balanced review requested due to automatic review settings November 16, 2026 05:55
@github-project-automation github-project-automation Bot moved this to Backlog in TechPie Nov 16, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@steven42121 steven42121 changed the title feat(wearables): 统一设备管理与小米手环通信 feat(wearables): 统一设备管理、小米通信与上课前提醒 Nov 16, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

2 participants