forked from gkd-kit/subscription
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcom.viva.note.ts
59 lines (56 loc) · 1.5 KB
/
com.viva.note.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'com.viva.note',
name: '囧次元',
groups: [
{
key: 1,
name: '应用内通知',
activityIds: [
'com.baidu.mobads.sdk.api.MobRewardVideoActivity',
'com.maoyun.guoguo.MainActivity',
],
rules: [
{
matches:
'View[desc^="APP最新版本"] > Button[desc="关闭"][clickable=true]',
snapshotUrls: [
'https://i.gkd.li/import/12888361',
'https://i.gkd.li/import/12888389',
],
},
],
},
{
key: 2,
name: '应用内弹窗',
activityIds: [
'com.sigmob.sdk.base.common.TransparentAdActivity',
'com.baidu.mobads.sdk.api.MobRewardVideoActivity',
],
rules: [
{
matches: '[id="ad_area"] [id="close_btn"]',
snapshotUrls: [
'https://i.gkd.li/import/12888388',
'https://i.gkd.li/import/12888419',
'https://i.gkd.li/import/12888578',
'https://i.gkd.li/import/12888647',
],
},
{
matches:
'TextView[text="反馈"] + @ImageView[clickable=true] + TextView',
snapshotUrls: 'https://i.gkd.li/import/12888945',
},
{
matches: [
'[text="查看详情"]',
'ImageView < FrameLayout[childCount=1]',
],
snapshotUrls: 'https://i.gkd.li/import/13213661',
},
],
},
],
});