mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-20 08:44:55 +08:00
83 lines
2.3 KiB
TypeScript
83 lines
2.3 KiB
TypeScript
import { defineAppConfig } from '../types';
|
|
|
|
export default defineAppConfig({
|
|
id: 'com.unionpay',
|
|
name: '云闪付',
|
|
groups: [
|
|
{
|
|
key: 0,
|
|
name: '开屏广告',
|
|
activityIds: ['com.unionpay.activity.UPActivityMain'],
|
|
rules: [
|
|
{
|
|
matches: '[id="com.unionpay:id/jump"][text^="跳过"]',
|
|
snapshotUrls: 'https://gkd-kit.gitee.io/import/12705391',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
key: 1,
|
|
name: '更新弹窗',
|
|
activityIds: ['com.unionpay.base.UPDialog'],
|
|
rules: [
|
|
{
|
|
matches: '@[text="稍候再说"] + [text="立即更新"]',
|
|
snapshotUrls: 'https://gkd-kit.songe.li/import/12727278',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
key: 9,
|
|
name: '右侧悬浮广告',
|
|
activityIds: ['com.unionpay.activity.UPActivityMain'],
|
|
rules: [
|
|
{
|
|
matches:
|
|
'[id="com.unionpay:id/frog_float"] >2 [id="com.unionpay:id/close_view"][visibleToUser=true]',
|
|
snapshotUrls: 'https://gkd-kit.gitee.io/import/12695699',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
key: 10,
|
|
name: '定位权限悬浮弹窗',
|
|
activityIds: ['com.unionpay.activity.UPActivityMain'],
|
|
rules: [
|
|
{
|
|
matches:
|
|
'[id="com.unionpay:id/locate_guide_view"] >2 [id="com.unionpay:id/locate_iv_close"][visibleToUser=true]',
|
|
snapshotUrls: 'https://gkd-kit.gitee.io/import/12694508',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
enable: false,
|
|
key: 11,
|
|
name: '访问位置请求弹窗',
|
|
desc: '自动点击【不允许】。默认关闭,请手动开启',
|
|
activityIds: ['com.unionpay.base.UPDialog'],
|
|
rules: [
|
|
{
|
|
matches:
|
|
'[text$="想访问您的位置信息"] < * +2 LinearLayout > [id="com.unionpay:id/btn_cancel"][visibleToUser=true]',
|
|
snapshotUrls: 'https://gkd-kit.gitee.io/import/12695773',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
enable: false,
|
|
key: 12,
|
|
name: '开启消息通知弹窗',
|
|
desc: '默认关闭,请手动开启',
|
|
activityIds: ['com.unionpay.base.UPDialog'],
|
|
rules: [
|
|
{
|
|
matches:
|
|
'[text="开启消息通知"] < * + [id="com.unionpay:id/view_alert_cancel"][visibleToUser=true]',
|
|
snapshotUrls: 'https://gkd-kit.gitee.io/import/12695736',
|
|
},
|
|
],
|
|
},
|
|
],
|
|
});
|