feat(运动世界校园): 广告 (#213)

* feat(运动世界校园)

* feat(运动世界校园): 合并规则

---------

Co-authored-by: lisonge <i@songe.li>
This commit is contained in:
Kun Jinkao
2023-09-21 20:23:01 +08:00
committed by GitHub
parent 231ce159d1
commit 3afd43f4a8

View File

@@ -0,0 +1,61 @@
import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'com.zjwh.android_wh_physicalfitness',
name: '运动世界校园',
groups: [
{
key: 1,
name: '优量汇广告',
activityIds: 'com.zjwh.android_wh_physicalfitness.activity.HomeActivity',
rules: [
{
matches:
'ImageView - RelativeLayout >(3-n) [id="com.zjwh.android_wh_physicalfitness:id/iv_close"][clickable=true]',
snapshotUrls: [
'https://gkd-kit.gitee.io/import/12673231',
'https://gkd-kit.gitee.io/import/12673523',
],
},
],
},
{
key: 2,
name: '百青藤广告',
activityIds:
'com.zjwh.android_wh_physicalfitness.activity.SplashActivity',
rules: [
{
matches:
'@[text="跳过"][clickable=true] +(3) RelativeLayout >(2) [text="点击跳转至第三方页面"]',
snapshotUrls: ['https://gkd-kit.gitee.io/import/12673349'],
},
],
},
{
key: 3,
name: '快手广告',
activityIds:
'com.zjwh.android_wh_physicalfitness.activity.SplashActivity',
rules: [
{
matches:
'[text="广告"] - ImageView < ViewGroup - ViewGroup >(2) [text="跳过"]',
snapshotUrls: ['https://gkd-kit.gitee.io/import/12673495'],
},
],
},
{
key: 9,
name: '第三方SDK广告', // 不知道是什么SDK
activityIds: 'com.zjwh.android_wh_physicalfitness.activity.HomeActivity',
rules: [
{
matches:
'[id="com.zjwh.android_wh_physicalfitness:id/ad_flag_source_layout"] + [id="com.zjwh.android_wh_physicalfitness:id/iv_close"][clickable=true]',
snapshotUrls: ['https://gkd-kit.gitee.io/import/12673476'],
},
],
},
],
});