Skip to content

feat(android): 课程与截止日期灵动通知 - #194

Open
steven42121 wants to merge 2 commits into
HeZeBang:masterfrom
steven42121:codex/android-island
Open

steven42121 wants to merge 2 commits into
HeZeBang:masterfrom
steven42121:codex/android-island

Conversation

@steven42121

Copy link
Copy Markdown
Contributor

Android 用户可在设置中启用课程/截止日期通知:显示当前课程、90 分钟内下一课和 24 小时内 DDL,按能力使用 HyperOS 超级岛、Android 16 promoted ongoing 或普通常驻通知。

  • 原生闹钟保存未来三天缓存帧,支持进程退出后的切换、重启恢复和到期清除;跨周和无课日 DDL 有回归覆盖。
  • 默认关闭,仅请求通知权限;不引入保活服务、消费通知或周期网络刷新。
  • 为保留上游最低版本,HyperOS SDK 调用限定在 API 27+,低版本走普通通知;manifest 仅覆盖该 SDK 的最低版本声明。

验证:静态分析通过;772 项 Flutter 测试通过;Android debug APK 构建成功。

兼容性:三个拆分 PR 都直接基于上游 master(aaefb6a),互不依赖;保留上游应用 ID、签名、更新渠道、pubspec.yaml/lock、发行工作流和 Apple 平台实现。Android APK 实测 manifest 保持 API 24 最低要求,版本仍来自上游 1.0.4+26。代码整理自 RCCE,未带入 RCCE 的版本号、测试签名或其它扩展。

本地 Git 依赖下载反复断开,因此验证时使用对应原仓库的固定提交源码归档(cupertino_native_better 1c01bff、mobile_scanner 76f6f44);本地路径覆盖没有提交,依赖声明及锁文件与上游一致。真机厂商授权和设备显示仍需硬件验收。

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.

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