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            "2in1",
12            "wearable"
13        ],
14        "deliveryWithInstall": true,
15        "installationFree": false,
16        "pages": "$profile:main_pages",
17        "uiSyntax": "ets",
18        "abilities": [
19            {
20                "name": "com.example.apicoverhaptest.MainAbility",
21                "srcEntrance": "./ets/MainAbility/MainAbility.ts",
22                "description": "$string:phone_entry_main",
23                "icon": "$media:icon",
24                "label": "$string:entry_label",
25                "startWindowIcon": "$media:icon",
26                "startWindowBackground": "$color:white",
27                "visible": true,
28                "orientation": "portrait",
29                "skills": [
30                    {
31                        "entities": [
32                            "entity.system.home"
33                        ],
34                        "actions": [
35                            "action.system.home"
36                        ]
37                    }
38                ]
39            },
40            {
41                "name": "SecondAbility",
42                "srcEntrance": "./ets/SecondAbility/SecondAbility.ts",
43                "description": "$string:phone_entry_main",
44                "icon": "$media:icon",
45                "label": "$string:entry_label",
46                "startWindowIcon": "$media:icon",
47                "startWindowBackground": "$color:white",
48                "visible": true,
49                "launchType": "singleton"
50            },
51            {
52                "name": "ThirdAbility",
53                "srcEntrance": "./ets/ThirdAbility/SecondAbility.ts",
54                "description": "$string:phone_entry_main",
55                "icon": "$media:icon",
56                "label": "$string:entry_label",
57                "startWindowIcon": "$media:icon",
58                "startWindowBackground": "$color:white",
59                "visible": true,
60                "launchType": "specified"
61            },
62            {
63                "name": "CreateFormAbility",
64                "srcEntrance": "./ets/CreateFormAbility/CreateFormAbility.ts",
65                "description": "$string:phone_entry_main",
66                "icon": "$media:icon",
67                "label": "$string:entry_label",
68                "startWindowIcon": "$media:icon",
69                "startWindowBackground": "$color:white",
70                "visible": true,
71                "launchType": "singleton"
72            },
73            {
74                "name": "FormHostAbility",
75                "srcEntrance": "./ets/FormHostAbility/FormHostAbility.ts",
76                "description": "$string:phone_entry_main",
77                "icon": "$media:icon",
78                "label": "$string:entry_label",
79                "startWindowIcon": "$media:icon",
80                "startWindowBackground": "$color:white",
81                "visible": true,
82                "launchType": "singleton"
83            },
84            {
85                "name": "WindowStageOneAbility",
86                "srcEntry": "./ets/WindowStageAbility/WindowStageOneAbility.ets",
87                "description": "$string:MainAbility_desc",
88                "icon": "$media:icon",
89                "label": "$string:entry_label",
90                "exported": true,
91                "startWindowIcon": "$media:icon",
92                "startWindowBackground": "$color:white"
93            },
94            {
95                "name": "WindowStageTwoAbility",
96                "srcEntry": "./ets/WindowStageAbility/WindowStageTwoAbility.ets",
97                "description": "$string:MainAbility_desc",
98                "icon": "$media:icon",
99                "label": "$string:entry_label",
100                "exported": true,
101                "startWindowIcon": "$media:icon",
102                "startWindowBackground": "$color:white",
103                "launchType": "singleton"
104            },
105            {
106                "name": "WindowStageThreeAbility",
107                "srcEntry": "./ets/WindowStageAbility/WindowStageThreeAbility.ets",
108                "description": "$string:MainAbility_desc",
109                "icon": "$media:icon",
110                "label": "$string:entry_label",
111                "exported": true,
112                "startWindowIcon": "$media:icon",
113                "startWindowBackground": "$color:white"
114            }
115        ],
116        "extensionAbilities": [
117            {
118                "name": "FormAbility",
119                "srcEntrance": "./ets/FormAbility/FormAbility.ts",
120                "label": "$string:MainAbility_label",
121                "description": "$string:MainAbility_desc",
122                "type": "form",
123                "metadata": [
124                    {
125                        "name": "ohos.extension.form",
126                        "resource": "$profile:form_config"
127                    }
128                ]
129            }
130        ],
131        "requestPermissions": [
132            {
133                "name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED",
134                "reason": "need use ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
135            },
136            {
137                "name": "ohos.permission.REQUIRE_FORM",
138                "reason": "need use ohos.permission.REQUIRE_FORM"
139            },
140            {
141                "name": "ohos.permission.UPDATE_CONFIGURATION",
142                "reason": "need use ohos.permission.UPDATE_CONFIGURATION"
143            },
144            {
145                "name": "ohos.permission.GET_RUNNING_INFO",
146                "reason": "need use ohos.permission.GET_RUNNING_INFO"
147            },
148            {
149                "name": "ohos.permission.START_ABILITIES_FROM_BACKGROUND",
150                "reason": "need use ohos.permission.START_ABILITIES_FROM_BACKGROUND"
151            }
152        ]
153    }
154}