Files
AIsouler-GKD_subscription/src/apps/com.newcapec.mobile.ncp.ts
Max Chang 8505a437c0 feat(完美校园): 开屏广告 (#1883)
* feat(完美校园): 适配开屏广告

* feat(完美校园): 开屏广告

---------

Co-authored-by: 二刺螈 <i@songe.li>
2023-11-06 23:26:03 +08:00

37 lines
1.1 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'com.newcapec.mobile.ncp',
name: '完美校园',
groups: [
{
key: 0,
name: '开屏广告',
quickFind: true,
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: 'TextView[text^="跳过"][text.length<=10]',
snapshotUrls: 'https://gkd-kit.gitee.io/import/13263321',
},
{
key: 10,
name: '新版本提示',
desc: '新版本提示弹窗点击右上角【X】按钮。需手动开启',
enable: false,
activityIds: 'com.wanxiao.basebusiness.activity.SplashActivity',
rules: '[id="com.newcapec.mobile.ncp:id/iv_close"]',
snapshotUrls: 'https://gkd-kit.gitee.io/import/12843377',
},
{
key: 11,
name: '密码过期提示弹窗',
desc: '密码过期提示弹窗,点击【取消】按钮。(需手动开启)',
enable: false,
activityIds: 'com.wanxiao.ui.activity.IndexActivity',
rules: '[id="com.newcapec.mobile.ncp:id/dialog_oppotion"]',
snapshotUrls: 'https://gkd-kit.gitee.io/import/12843399',
},
],
});