diff --git a/src/apps/com.heytap.health.ts b/src/apps/com.heytap.health.ts new file mode 100644 index 00000000..f27eb161 --- /dev/null +++ b/src/apps/com.heytap.health.ts @@ -0,0 +1,40 @@ +import { defineGkdApp } from '@gkd-kit/define'; + +export default defineGkdApp({ + id: 'com.heytap.health', + name: 'OPPO 健康', + groups: [ + { + key: 1, + name: '更新提示', + desc: '点击[以后再说]', + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', + rules: [ + { + fastQuery: true, + activityIds: 'com.heytap.health.settings.me.upgrade.UpgradeActivity', + matches: [ + '[text="检测到新版本"][visibleToUser=true]', + '[text="以后再说"][visibleToUser=true]', + ], + snapshotUrls: 'https://i.gkd.li/i/22657352', + }, + ], + }, + { + key: 2, + name: '局部广告-卡片广告', + rules: [ + { + fastQuery: true, + activityIds: 'com.heytap.health.main.MainActivity', + matches: + '[vid="adapter_act_root_view"] > [vid="close"][clickable=true][visibleToUser=true]', + snapshotUrls: 'https://i.gkd.li/i/22657359', + }, + ], + }, + ], +});