From 25199499708cc2461aa3d77445b2989bbaca806f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=A9=E6=96=B9=E5=A4=9C=E8=B0=AD?= <152615144+tianfangyetan1@users.noreply.github.com> Date: Thu, 2 Oct 2025 19:42:43 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20OPPO=E5=81=A5=E5=BA=B7-=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E6=8F=90=E7=A4=BA=20=E7=AD=892=E4=B8=AA=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=20(#1208)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: AIsouler --- src/apps/com.heytap.health.ts | 40 +++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 src/apps/com.heytap.health.ts 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', + }, + ], + }, + ], +});