feat(wear): integrate Wear OS companion app into monorepo - #171
Open
brill594 wants to merge 18 commits into
Open
feat(wear): integrate Wear OS companion app into monorepo#171brill594 wants to merge 18 commits into
brill594 wants to merge 18 commits into
Conversation
This reverts commit 3694df7.
git-subtree-dir: wearos git-subtree-split: 081019cbe3cdc2786197e05bd88d1fb0162acd43
BenderBlog
reviewed
Aug 4, 2026
| 13. 上课前提醒。 | ||
| 14. 完备的国际化支持:支持繁体中文和英语。 | ||
| 15. 宿舍水机支持。 | ||
| 16. 提供配套 Wear OS 应用,可同步课程、一卡通余额与付款码,并在断开手机时使用缓存数据。 |
Owner
There was a problem hiding this comment.
简化为:配套 WearOS 或 Apple Watch 应用
BenderBlog
reviewed
Aug 4, 2026
| Tools • Dart 3.12.0 • DevTools 2.57.0 | ||
| ``` | ||
|
|
||
| ### 仓库结构与 Wear OS 构建 |
BenderBlog
reviewed
Aug 4, 2026
| class _WearSyncLoginPageState extends State<WearSyncLoginPage> { | ||
| late final WearCompanionSyncBridge _bridge; | ||
| StreamSubscription<WearCompanionSyncEnvelope>? _subscription; | ||
| String _status = '请在手机端打开“设置 > XDYou Wear”,选择这块手表'; |
Owner
|
删了那堆测试,删了二维码付款那个,删了所有 ids 逻辑,咱这个只做同步课表显示功能。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概述
将 XDYou Wear OS companion app 整合到 Traintime PDA 主仓库,统一维护手机端与手表端的配对、通信、数据同步及付款码认证流程。
主要改动
wearos/.flutterSDK仓库结构
wearos/Wear OS 不再作为独立 submodule 使用,避免通信协议版本不一致及嵌套 submodule 初始化问题。
验证
flutter analyze通过迁移说明
原 Wear OS 仓库保留作为历史记录。后续 Wear OS 功能应直接在主仓库的
wearos/目录维护。