We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
否(No)
转发规则 - 应用 - 匹配字段 选择多重匹配时,无法指定使用 UID 匹配。希望能够添加这个匹配条件。
现象是,在选择多重匹配后,“匹配的值”中填写 并且 是 UID 相等 999 ,再点击测试或保存,均会提示“多重匹配规则的第 1 行格式有误”。
并且 是 UID 相等 999
从代码上看,底层的匹配代码应该是支持 UID 的:
SmsForwarder/app/src/main/java/com/idormy/sms/forwarder/utils/RuleLine.kt
Line 62 in ff83a8a
UI 上检测多重匹配规则是否合法,只是通过一个预定义的正则表达式去检测:
SmsForwarder/app/src/main/java/com/idormy/sms/forwarder/fragment/RulesEditFragment.kt
Lines 737 to 752 in ff83a8a
SmsForwarder/app/src/main/res/values/strings.xml
Line 637 in ff83a8a
因此或许只需要简单修改这个正则表达式,把 UID 加进去就可以支持了。但是我目前没有开发环境,无法做这个测试。
The text was updated successfully, but these errors were encountered:
优化:多重匹配语法增加对UID的支持 #510
UID
b35ba17
覆盖安装 每周构建版 试试 (等待在线编译完成)
每周构建版
升级操作提示:
加入SmsF预览体验计划
关于软件
v3.3.0_240305+
Sorry, something went wrong.
测试可用。感谢!
另外留个记录:UID 不是 UserID. 如果要识别双开应用,条件应当是“以 999 开头”而不是“等于 999”。
测试可用。感谢! 另外留个记录:UID 不是 UserID. 如果要识别双开应用,条件应当是“以 999 开头”而不是“等于 999”。
自定义模板插入这个标签 {{UID}} ,先转发全部通知出去,就知道你要的应用对应的uid是多少,然后修改转发规则,匹配字段选UID,匹配值添uid数字
pppscn
No branches or pull requests
是否有人曾提过类似的问题?
否(No)
你觉得APP有什么不足之处?
转发规则 - 应用 - 匹配字段 选择多重匹配时,无法指定使用 UID 匹配。希望能够添加这个匹配条件。
现象是,在选择多重匹配后,“匹配的值”中填写
并且 是 UID 相等 999
,再点击测试或保存,均会提示“多重匹配规则的第 1 行格式有误”。你觉得该怎么去完善会比较好?【非必答】
从代码上看,底层的匹配代码应该是支持 UID 的:
SmsForwarder/app/src/main/java/com/idormy/sms/forwarder/utils/RuleLine.kt
Line 62 in ff83a8a
UI 上检测多重匹配规则是否合法,只是通过一个预定义的正则表达式去检测:
SmsForwarder/app/src/main/java/com/idormy/sms/forwarder/fragment/RulesEditFragment.kt
Lines 737 to 752 in ff83a8a
SmsForwarder/app/src/main/res/values/strings.xml
Line 637 in ff83a8a
因此或许只需要简单修改这个正则表达式,把 UID 加进去就可以支持了。但是我目前没有开发环境,无法做这个测试。
The text was updated successfully, but these errors were encountered: