• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2    "module": {
3        "name": "phone",
4        "type": "entry",
5        "srcEntrance": "./ets/Application/AbilityStage.ts",
6        "description": "$string:phone_entry_dsc",
7        "mainElement": "MainAbility",
8        "deviceTypes": [
9        "default",
10        "tablet"
11        ],
12        "deliveryWithInstall": true,
13        "installationFree": false,
14        "uiSyntax": "ets",
15        "pages": "$profile:main_pages",
16        "abilities": [
17            {
18                "name": "com.acts.actsinterfacemultiuserstest.MainAbility",
19                "srcEntrance": "./ets/MainAbility/MainAbility.ts",
20                "description": "$string:phone_entry_main",
21                "icon": "$media:icon",
22                "label": "$string:entry_label",
23                "visible": true,
24                "orientation": "portrait",
25                "skills": [
26                    {
27                        "actions": [
28                            "action.system.home"
29                        ],
30                        "entities":[
31                            "entity.system.home"
32                        ]
33                    }
34                ]
35            },
36			{
37                "name": "com.acts.actsinterfacemultiuserstest.MainAbility2",
38                "srcEntrance": "./ets/MainAbility2/MainAbility2.ts",
39                "description": "$string:phone_entry_main",
40                "icon": "$media:icon",
41                "label": "$string:entry_label",
42                "visible": true,
43                "orientation": "portrait"
44            },
45			{
46                "name": "com.acts.actsinterfacemultiuserstest.MainAbility3",
47                "srcEntrance": "./ets/MainAbility3/MainAbility3.ts",
48                "description": "$string:phone_entry_main",
49                "icon": "$media:icon",
50                "label": "$string:entry_label",
51                "visible": true,
52                "orientation": "portrait"
53            }
54        ],
55      "defPermissions": [
56        {
57          "availableScope": [],
58          "grantMode": "system_grant",
59          "name": "ohos.permission.MANAGE_LOCAL_ACCOUNTS"
60        },
61        {
62          "availableScope": [],
63          "grantMode": "system_grant",
64          "name": "ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS_EXTENSION"
65        }
66      ],
67        "requestPermissions": [
68          {
69            "name": "ohos.permission.CLEAN_BACKGROUND_PROCESSES",
70            "reason": "need use ohos.permission.CLEAN_BACKGROUND_PROCESSES"
71          },
72          {
73            "name": "ohos.permission.GET_BUNDLE_INFO",
74            "reason": "need use ohos.permission.GET_BUNDLE_INFO"
75          },
76          {
77            "name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED",
78            "reason": "need use ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
79          },
80          {
81            "name": "ohos.permission.GET_RUNNING_INFO",
82            "reason": "need use ohos.permission.GET_RUNNING_INFO"
83          },
84          {
85            "name":"ohos.permission.START_ABILITIES_FROM_BACKGROUND",
86            "reason":"need use ohos.permission.START_ABILITIES_FROM_BACKGROUND"
87          }
88        ]
89    }
90}
91