Skip to content

Conversation

@hazuki-keatsu
Copy link
Contributor

已完成的:

  • 引入flutter_local_notification包作为通知系统的依赖
  • 完成了通知系统的权限配置以及Proguard规则
  • 实现了一个不基于BuildContext的国际化服务,使用build_runner自动构建
  • 实现了一个通知系统基类(NotificationService),实现了一个课前通知类(CourseReminderService)
  • 实现了一系列权限处理类
  • 更新了设置页面的UI,添加通知相关的设置
  • 更新了部分设置项的Preference
  • 安卓平台日常场景的功能测试

未完成的:

  • iOS平台功能测试

hazuki-keatsu and others added 19 commits October 20, 2025 13:04
…e the function failure of flutter_local_notification
- Add a registrar to handle notification click events in a concreted manner
Copy link
Contributor Author

@hazuki-keatsu hazuki-keatsu left a comment

Choose a reason for hiding this comment

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

我回头再改改

@BenderBlog
Copy link
Owner

  1. 只能在 1.5.6 发布了
  2. 请问是否依靠本机器的后台运行机制?

@hazuki-keatsu
Copy link
Contributor Author

请问是否依靠本机器的后台运行机制?

不依赖本机器的后台运行机制,但是在非原生安卓上要求自启动等权限,保证通知发出。


现在在经过长期测试(3天)之后,发现在XDYou初始化时的安排课前通知的功能还是存在失效的问题。我现在正在排查问题。

不过就目前来说,除了上面的这一点以外,所有期望功能均已实现。

@hazuki-keatsu
Copy link
Contributor Author

现在在经过长期测试(3天)之后,发现在XDYou初始化时的安排课前通知的功能还是存在失效的问题。我现在正在排查问题。

  • 修复了上述问题
  • 新增了物理实验的提醒,但是现在可能还需要测试一下(大概3days)

@BenderBlog
Copy link
Owner

可以,现在最大问题:需要实际的较新苹果设备来测试……

@hazuki-keatsu
Copy link
Contributor Author

我室友有上代的iphone,我看看能不能让他帮忙测试(我听说iphone那边对侧载管得很严,我得研究研究)

@BenderBlog
Copy link
Owner

听说iphone那边对侧载管得很严,我得研究研究

我有 adhoc 证书,这块咋搞我也不懂。而且我是用别人名义上架的,到时候还得请人家同意。新版本发布后,到时候再看吧……

- simplify the validateAndUpdateNotifications() logic
- fix the function failure of CourseReminder Update while the XDYou start
- always-on debugging plugin for debugging

TEST_STATUS: long-term(3 days)
@hazuki-keatsu
Copy link
Contributor Author

我本来想试试在Windows平台上打包的,发现好像需要XCode的工具链。。。

投降喵(举手)


最新的推送中我将我用来调试的组件常开了,简化了初始化时的通知更新逻辑,但是这个方案是否有效还得等待测试(大概1-3天的样子)

@BenderBlog
Copy link
Owner

我本来想试试在Windows平台上打包的,发现好像需要XCode的工具链。。。

我过几天给你编一个,在这之前看看如何利用 github action 咋编译吧:P

@hazuki-keatsu
Copy link
Contributor Author

我发现我连apple账号都注册不了。。

- modify the way of generating notification id to solve the problem of the reminder overlapped
@hazuki-keatsu
Copy link
Contributor Author

目前几天的实际场景测试,程序都在正常运行。刚刚修复了通知id重复导致被通知被覆盖的问题

@BenderBlog
Copy link
Owner

可以,我尽快开启 1.5.5 版本来测试,苹果安装包预计先搞个 testflight

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants