feat:增加打卡应用通知转移功能#71
Open
yamleaf wants to merge 1 commit into
Open
Conversation
yamleaf
commented
Jul 21, 2026
将目标打卡 App(飞书/企微/钉钉/M3)的通知经现有消息渠道(邮件/企业微信)转发到目标手机。
- NotificationMonitorService:新增 forwardNotificationIfEnabled,按开关转发目标 App 通知(轻量去重避免重复投递);handleRemoteCommand 增加 DT#开启转移 / DT#关闭转移 远程指令。
- Constant:新增 NOTIFICATION_TRANSFER_KEY。
- SettingsActivity / activity_settings:在“通知监听”下方新增“通知转移”开关(字体与同卡片一致),开启时校验通知监听与消息渠道。
- CommandActivity:指令列表登记两条通知转移指令。
Owner
这和现在的监听到结果后再通过消息渠道发送给用户有什么区别?看你代码的意思是加了个开关? |
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.