规则没有触发,已加延时
#998
Replies: 3 comments 26 replies
-
你的快照 https://i.gkd.li/i/20219088 的 activityId 是
哪有语法错误?
|
Beta Was this translation helpful? Give feedback.
4 replies
-
{
id: 'com.videogo',
name: '萤石云视频',
groups: [
{
key: 4,
name: '萤石云-通知权限未开启',
desc: '2025-05-15',
rules: [
{
fastQuery: true,
activityIds: 'com.videogo.flutter.EzvizFlutterWithEngineGroupActivity',
matches: '@* - ImageView[desc*="通知权限未开启,无法及"] <2 View < View < FrameLayout < [id="android:id/content"]',
},
],
},
],
} com.videogo.flutter.EzvizFlutterWithEngineGroupActivity 和 com.videogo.main.MainTabActivity 都试了还是没有触发关闭。规则还要怎么改? 新的快照 https://i.gkd.li/snapshot/1747296842630 ,id= com.videogo.flutter.EzvizFlutterWithEngineGroupActivity |
Beta Was this translation helpful? Give feedback.
19 replies
-
使用最新测试版本 https://github.com/gkd-kit/gkd/releases 和下面的规则就可以稳定触发 {
key: 5,
name: '萤石云-通知权限未开始test',
desc: '2025-05-12',
fastQuery: true,
matchRoot: true,
actionMaximum: 1,
forcedTime: 5000,
rules: [
{
action: 'back',
matches: [
'@ImageView - ImageView[desc^="通知权限未开启"] <2 View < View < FrameLayout < [id="android:id/content"]'
]
}
]
} |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
快照:
萤石云视频_MainTabActivity-1747276984331.zip
1,原来没加延时,偶尔能触发1,2次,大部分关不了。加了延时反而触发不了。要怎么改这个规则?
2,根据文档 https://gkd.li/guide/selector#connect-operator 这种写法 * - [_id=32] 要怎么改
比如
* - @ImageView[desc*="通知权限未开启,无法及"] <2 View < View < FrameLayout < [id="android:id/content"]
语法识别错误
Beta Was this translation helpful? Give feedback.
All reactions