diff --git a/src/apps/com.huawei.health.ts b/src/apps/com.huawei.health.ts new file mode 100644 index 00000000..66221717 --- /dev/null +++ b/src/apps/com.huawei.health.ts @@ -0,0 +1,31 @@ +import { defineAppConfig } from '../types'; + +export default defineAppConfig({ + id: 'com.huawei.health', + name: '华为运动健康', + groups: [ + { + key: 0, + name: '开屏广告', + activityIds: ['com.huawei.health.MainActivity'], + rules: [ + { + matches: '[id="com.huawei.hms.ads.uiengine:id/hiad_skip_text"]', + action: 'clickCenter', + snapshotUrls: ['https://gkd-kit.gitee.io/import/12667766'], + }, + ], + }, + { + key: 1, + name: '“我的”页会员广告', + activityIds: ['com.huawei.health.MainActivity'], + rules: [ + { + matches: '[id="com.huawei.health:id/item_banner_ad_close_icon"]', + snapshotUrls: ['https://gkd-kit.gitee.io/import/12667814'], + }, + ], + }, + ], +});