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

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

* 格式更正

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

---------

Co-authored-by: 二刺螈 <i@songe.li>

close #1643
This commit is contained in:
jiuqianyuan
2023-11-01 00:06:31 +08:00
committed by GitHub
parent 4dd1f09726
commit 3e5ad3dae9

View File

@@ -7,13 +7,21 @@ export default defineAppConfig({
{ {
key: 0, key: 0,
name: '开屏广告', name: '开屏广告',
activityIds: ['com.huawei.health.MainActivity'], matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
quickFind: true,
rules: [ rules: [
{ {
matches: '[id="com.huawei.hms.ads.uiengine:id/hiad_skip_text"]', matches: '[id="com.huawei.hms.ads.uiengine:id/hiad_skip_text"]',
action: 'clickCenter', action: 'clickCenter',
snapshotUrls: ['https://gkd-kit.gitee.io/import/12667766'], snapshotUrls: ['https://gkd-kit.gitee.io/import/12667766'],
}, },
{
matches: '[id="com.huawei.health:id/hiad_skip_text"]',
action: 'clickCenter',
snapshotUrls: ['https://gkd-kit.gitee.io/import/13215012'],
},
], ],
}, },
{ {