forked from gkd-kit/subscription
-
Notifications
You must be signed in to change notification settings - Fork 0
/
com.hihonor.magichome.ts
35 lines (34 loc) · 1.19 KB
/
com.hihonor.magichome.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
import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'com.hihonor.magichome',
name: '荣耀智慧空间',
groups: [
{
key: 10,
name: '首页顶部广告',
activityIds: 'com.hihonor.magichome.business.MainActivity',
rules: '[id="com.hihonor.magichome:id/item_close_image"]',
snapshotUrls: 'https://gkd-kit.gitee.io/import/12843930',
},
{
key: 11,
name: '推荐服务声明',
enable: false,
desc: '推荐服务声明弹窗。默认点击【取消】按钮',
activityIds: 'com.hihonor.magichome.business.MainActivity',
rules:
'[text$="推荐服务声明"] < LinearLayout < LinearLayout + LinearLayout > [id="com.hihonor.magichome:id/negative_btn"]',
snapshotUrls: 'https://gkd-kit.gitee.io/import/12843976',
},
{
key: 12,
name: '升级提示',
desc: '点击以后再说',
activityIds: 'com.hihonor.magichome.business.MainActivity',
quickFind: true,
rules:
'TextView[text="立即更新"] -2 [id="com.hihonor.magichome:id/negative_btn"][text="以后再说"]',
snapshotUrls: 'https://gkd-kit.gitee.io/import/12916700',
},
],
});