feat(华为运动健康): 开屏广告, “我的”页会员广告 (#197)

* feat(华为运动健康): 开屏广告

* feat(华为运动健康): “我的”页会员广告
This commit is contained in:
CallMeBill
2023-09-20 11:36:18 +08:00
committed by GitHub
parent de2c462e37
commit 7c0b84efb6

View File

@@ -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'],
},
],
},
],
});