Skip to content

feat:增加打卡应用通知转移功能#71

Open
yamleaf wants to merge 1 commit into
AndroidCoderPeng:masterfrom
yamleaf:feat/notification-transfer
Open

feat:增加打卡应用通知转移功能#71
yamleaf wants to merge 1 commit into
AndroidCoderPeng:masterfrom
yamleaf:feat/notification-transfer

Conversation

@yamleaf

@yamleaf yamleaf commented Jul 21, 2026

Copy link
Copy Markdown
将目标打卡 App(飞书/企微/钉钉/M3)的通知经现有消息渠道(邮件/企业微信)转发到目标手机。

- NotificationMonitorService:新增 forwardNotificationIfEnabled,按开关转发目标 App 通知(轻量去重避免重复投递);handleRemoteCommand 增加 DT#开启转移 / DT#关闭转移 远程指令。
- Constant:新增 NOTIFICATION_TRANSFER_KEY。
- SettingsActivity / activity_settings:在“通知监听”下方新增“通知转移”开关(字体与同卡片一致),开启时校验通知监听与消息渠道。
- CommandActivity:指令列表登记两条通知转移指令。

    将目标打卡 App(飞书/企微/钉钉/M3)的通知经现有消息渠道(邮件/企业微信)转发到目标手机。

    - NotificationMonitorService:新增 forwardNotificationIfEnabled,按开关转发目标 App 通知(轻量去重避免重复投递);handleRemoteCommand 增加 DT#开启转移 / DT#关闭转移 远程指令。
    - Constant:新增 NOTIFICATION_TRANSFER_KEY。
    - SettingsActivity / activity_settings:在“通知监听”下方新增“通知转移”开关(字体与同卡片一致),开启时校验通知监听与消息渠道。
    - CommandActivity:指令列表登记两条通知转移指令。
@AndroidCoderPeng

Copy link
Copy Markdown
Owner
将目标打卡 App(飞书/企微/钉钉/M3)的通知经现有消息渠道(邮件/企业微信)转发到目标手机。

- NotificationMonitorService:新增 forwardNotificationIfEnabled,按开关转发目标 App 通知(轻量去重避免重复投递);handleRemoteCommand 增加 DT#开启转移 / DT#关闭转移 远程指令。
- Constant:新增 NOTIFICATION_TRANSFER_KEY。
- SettingsActivity / activity_settings:在“通知监听”下方新增“通知转移”开关(字体与同卡片一致),开启时校验通知监听与消息渠道。
- CommandActivity:指令列表登记两条通知转移指令。

这和现在的监听到结果后再通过消息渠道发送给用户有什么区别?看你代码的意思是加了个开关?

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