• 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      "pages": "$profile:main_pages",
15      "uiSyntax": "ets",
16      "metadata": [
17        {
18          "name": "ArkTSPartialUpdate",
19          "value": "false"
20        }
21      ],
22      "abilities": [
23        {
24          "name": "com.example.apicoverhaptest.MainAbility",
25          "srcEntrance": "./ets/MainAbility/MainAbility.ts",
26          "description": "$string:phone_entry_main",
27          "icon": "$media:icon",
28          "label": "$string:entry_label",
29          "startWindowIcon": "$media:icon",
30          "startWindowBackground": "$color:white",
31          "visible": true,
32          "orientation": "portrait",
33          "skills": [
34            {
35              "entities": [
36                "entity.system.home"
37              ],
38              "actions": [
39                "action.system.home"
40              ]
41            }
42          ]
43        },
44        {
45          "name": "SecondAbility",
46          "srcEntrance": "./ets/SecondAbility/SecondAbility.ts",
47          "description": "$string:phone_entry_main",
48          "icon": "$media:icon",
49          "label": "$string:entry_label",
50          "startWindowIcon": "$media:icon",
51          "startWindowBackground": "$color:white",
52          "visible": true,
53          "launchType": "singleton"
54        },
55        {
56          "name": "CreateFormAbility",
57          "srcEntrance": "./ets/CreateFormAbility/CreateFormAbility.ts",
58          "description": "$string:phone_entry_main",
59          "icon": "$media:icon",
60          "label": "$string:entry_label",
61          "startWindowIcon": "$media:icon",
62          "startWindowBackground": "$color:white",
63          "visible": true,
64          "launchType": "singleton"
65        },
66        {
67          "name": "FormHostAbility",
68          "srcEntrance": "./ets/FormHostAbility/FormHostAbility.ts",
69          "description": "$string:phone_entry_main",
70          "icon": "$media:icon",
71          "label": "$string:entry_label",
72          "startWindowIcon": "$media:icon",
73          "startWindowBackground": "$color:white",
74          "visible": true,
75          "launchType": "singleton"
76        }
77      ],
78      "extensionAbilities": [
79        {
80          "name": "FormAbility",
81          "srcEntrance": "./ets/FormAbility/FormAbility.ts",
82          "label": "$string:MainAbility_label",
83          "description": "$string:MainAbility_desc",
84          "type": "form",
85          "metadata": [
86            {
87              "name": "ohos.extension.form",
88              "resource": "$profile:form_config"
89            }
90          ]
91        }
92      ],
93      "requestPermissions":[
94        {
95          "name":"ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
96        },
97        {
98          "name":"ohos.permission.REQUIRE_FORM"
99        },
100        {
101          "name":"ohos.permission.UPDATE_CONFIGURATION"
102        },
103        {
104          "name": "ohos.permission.GET_RUNNING_INFO"
105        },
106        {
107          "name":"ohos.permission.START_ABILITIES_FROM_BACKGROUND"
108        }
109      ]
110    }
111  }
112