• 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.example.actsgetdisplayidtest.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        "requestPermissions": [
38          {
39            "name": "ohos.permission.GET_BUNDLE_INFO",
40            "reason": "need use ohos.permission.GET_BUNDLE_INFO"
41          },
42          {
43            "name": "ohos.permission.CLEAN_BACKGROUND_PROCESSES",
44            "reason": "need use ohos.permission.CLEAN_BACKGROUND_PROCESSES"
45          },
46          {
47            "name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED",
48            "reason": "need use ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
49          },
50          {
51            "name":"ohos.permission.START_ABILITIES_FROM_BACKGROUND",
52            "reason":"need use ohos.permission.START_ABILITIES_FROM_BACKGROUND"
53          }
54        ]
55    }
56}
57