feat(AppShare):开屏广告、下载页-卡片广告 (#3298)

close #3290
close #3323
This commit is contained in:
jiuqianyuan
2023-12-24 20:27:37 +08:00
committed by GitHub
parent f717b36780
commit 61d0259bcb

View File

@@ -7,31 +7,37 @@ export default defineAppConfig({
{ {
key: 0, key: 0,
name: '开屏广告', name: '开屏广告',
activityIds: [ matchTime: 10000,
'info.muge.appshare.view.launch.LaunchActivity', actionMaximum: 1,
'com.miui.home.launcher.Launcher', resetMatch: 'app',
],
rules: [ rules: [
{ {
matches: '[id="com.byted.pangle:id/tt_splash_skip_btn"]', matches: '[id$="tt_splash_skip_btn"]',
snapshotUrls: [ snapshotUrls: [
'https://i.gkd.li/import/12683145', 'https://i.gkd.li/import/12683145',
'https://i.gkd.li/import/12683173', // activityId: 'com.miui.home.launcher.Launcher' 'https://i.gkd.li/import/12683173', // activityId: 'com.miui.home.launcher.Launcher'
'https://i.gkd.li/import/13702708',
], ],
}, },
{ {
matches: '[id="info.muge.appshare:id/tv_jump"][text^="跳过"]', matches: '[text*="跳过"][text.length<=10]',
snapshotUrls: 'https://i.gkd.li/import/12683168',
},
{
matches:
'ImageView -(4) LinearLayout[childCount=2] > [id=null][text^="跳过"]',
snapshotUrls: [ snapshotUrls: [
'https://i.gkd.li/import/12683168',
'https://i.gkd.li/import/12683211', 'https://i.gkd.li/import/12683211',
'https://i.gkd.li/import/12748893', 'https://i.gkd.li/import/12748893',
], ],
}, },
], ],
}, },
{
key: 6,
name: '下载页-卡片广告',
matchTime: 10000,
actionMaximum: 1,
activityIds: 'info.muge.appshare.view.app.detail.AppDetailActivity',
rules:
'FrameLayout[childCount>1] > FrameLayout[childCount=1] > ImageView[width<90][height<90]',
snapshotUrls: 'https://i.gkd.li/import/13712716',
},
], ],
}); });