feat(中国移动河南): 开屏广告、应用内广告弹窗、右侧悬浮广告 (#1219)

* feat: 开屏广告

* feat: 应用内广告弹窗

* feat: 右侧悬浮广告

close #1218
This commit is contained in:
Kun Jinkao 2023-10-19 00:53:36 +08:00 committed by GitHub
parent 6cdbc92313
commit 7942888958
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,45 @@
import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'com.xinhang.mobileclient',
name: '中国移动河南',
groups: [
{
key: 0,
name: '开屏广告',
activityIds:
'com.xinhang.mobileclient.launcher.activity.LauncherActivity',
matchLauncher: true,
rules: '[id="com.xinhang.mobileclient:id/cdp_skip"]',
snapshotUrls: 'https://gkd-kit.gitee.io/import/13024858',
},
{
key: 1,
name: '应用内广告弹窗',
activityIds: 'com.xinhang.mobileclient.home.activity.HomeActivity',
rules: [
{
key: 0,
matches: 'View[desc^="close"]',
snapshotUrls: 'https://gkd-kit.gitee.io/import/13024867',
},
{
key: 1,
matches: 'View > View > TextView + TextView[text=""]',
snapshotUrls: 'https://gkd-kit.gitee.io/import/13024869',
},
],
},
{
key: 2,
name: '右侧悬浮广告',
activityIds: 'com.xinhang.mobileclient.home.activity.HomeActivity',
rules:
'@[id="com.xinhang.mobileclient:id/iv_close"] + [id="com.xinhang.mobileclient:id/iv_advert"]',
snapshotUrls: [
'https://gkd-kit.gitee.io/import/13024863',
'https://gkd-kit.gitee.io/import/13024872',
],
},
],
});