This commit is contained in:
aisouler
2024-02-07 16:16:00 +08:00
3 changed files with 43 additions and 10 deletions

View File

@@ -6,24 +6,30 @@ export default defineAppConfig({
groups: [ groups: [
{ {
key: 1, key: 1,
name: '通知提示-请求系统推送弹窗', name: '通知提示-开启推送通知',
desc: '点击取消', rules: [
{
key: 0,
name: '通知提示-开启推送通知提示弹窗',
quickFind: true, quickFind: true,
actionMaximum: 1, actionMaximum: 1,
matchTime: 30000, matchTime: 30000,
resetMatch: 'app', resetMatch: 'app',
activityIds: [
'com.tencent.weread.module.bottomSheet.BottomSheetForFragment',
'com.tencent.weread.WeReadFragmentActivity',
],
rules: [
{
matches: '[id="com.tencent.weread:id/open_notification_close"]', matches: '[id="com.tencent.weread:id/open_notification_close"]',
snapshotUrls: [ snapshotUrls: [
'https://i.gkd.li/import/12642247', 'https://i.gkd.li/import/12642247',
'https://i.gkd.li/import/13233735', 'https://i.gkd.li/import/13233735',
], ],
}, },
{
key: 1,
name: '通知提示-开启推送通知提示信息',
actionMaximum: 1,
resetMatch: 'app',
matches:
'[text="开启推送通知"] +3 [clickable=true][visibleToUser=true]',
snapshotUrls: 'https://i.gkd.li/import/14190089',
},
], ],
}, },
{ {

View File

@@ -10,12 +10,22 @@ export default defineAppConfig({
desc: '点击关闭', desc: '点击关闭',
rules: [ rules: [
{ {
key: 0,
name: '快手广告',
activityIds: 'com.zhouyu.music.activities.MainActivity', activityIds: 'com.zhouyu.music.activities.MainActivity',
matches: 'ViewGroup[childCount=5] > ViewGroup[index=2] > ViewGroup', matches: 'ViewGroup[childCount=5] > ViewGroup[index=2] > ViewGroup',
exampleUrls: exampleUrls:
'https://m.gkd.li/57941037/223a7872-d80b-44c9-865a-8d9b4cb9684e', 'https://m.gkd.li/57941037/223a7872-d80b-44c9-865a-8d9b4cb9684e',
snapshotUrls: 'https://i.gkd.li/import/14155635', snapshotUrls: 'https://i.gkd.li/import/14155635',
}, },
{
key: 1,
name: '腾讯广告',
activityIds: 'com.zhouyu.music.activities.MainActivity',
matches:
'ImageView - LinearLayout - FrameLayout > FrameLayout[index=2][childCount=1] > ImageView[childCount=0]',
snapshotUrls: 'https://i.gkd.li/import/14190190',
},
], ],
}, },
], ],

View File

@@ -0,0 +1,17 @@
import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'com.xiaomi.gamecenter.sdk.service',
name: '小米游戏服务',
groups: [
{
key: 1,
name: '更新提示',
quickFind: true,
actionMaximum: 1,
resetMatch: 'app',
rules: '[text="升级提示"] < * + [vid="btn_close"]',
snapshotUrls: 'https://i.gkd.li/import/14188929',
},
],
});