feat(步道乐跑): 开屏广告、弹窗广告(补充规则) (#1340)

* feat: 开屏广告

* feat: 弹窗广告(补充规则)
This commit is contained in:
Kun Jinkao 2023-10-24 01:02:24 +08:00 committed by GitHub
parent f433abf90d
commit ed990af31b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,15 +4,34 @@ export default defineAppConfig({
id: 'com.lptiyu.tanke',
name: '步道乐跑',
groups: [
{
key: -1,
name: '开屏广告',
activityIds: 'com.lptiyu.tanke.activities.splash.SplashActivity',
matchLauncher: true,
rules:
'[id="com.lptiyu.tanke:id/splash_full_tk_play_card_view"] >n [text="跳过"]',
snapshotUrls: 'https://i.gkd.li/import/13070420',
},
{
key: 0,
name: '弹窗广告',
activityIds: 'com.lptiyu.tanke.activities.main.MainActivity',
rules:
'[id="com.lptiyu.tanke:id/interact_ad_root"] >n [id="com.lptiyu.tanke:id/iv_close"]',
snapshotUrls: [
'https://gkd-kit.gitee.io/import/12829816',
'https://i.gkd.li/import/12869344',
rules: [
{
key: 0,
matches:
'[id="com.lptiyu.tanke:id/interact_ad_root"] >n [id="com.lptiyu.tanke:id/iv_close"]',
snapshotUrls: [
'https://gkd-kit.gitee.io/import/12829816',
'https://i.gkd.li/import/12869344',
],
},
{
key: 1,
matches: 'ImageView - FrameLayout > FrameLayout > ImageView',
snapshotUrls: 'https://i.gkd.li/import/13070801',
},
],
},
],