• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/**
2 * Copyright (c) 2025 Shenzhen Kaihong Digital Industry Development Co., Ltd.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
6 *
7 * http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 */
15{
16  "module": {
17    "name": "entry",
18    "type": "entry",
19    "description": "$string:module_desc",
20    "mainElement": "EntryAbility",
21    "deviceTypes": [],
22    "deliveryWithInstall": true,
23    "installationFree": false,
24    "pages": "$profile:main_pages",
25    "abilities": [
26      {
27        "name": "EntryAbility",
28        "srcEntry": "./ets/entryability/EntryAbility.ets",
29        "description": "$string:EntryAbility_desc",
30        "icon": "$media:layered_image",
31        "label": "$string:EntryAbility_label",
32        "startWindowIcon": "$media:startIcon",
33        "startWindowBackground": "$color:start_window_background",
34        "exported": true,
35        "skills": [
36          {
37            "entities": [
38              "entity.system.home"
39            ],
40            "actions": [
41              "action.system.home"
42            ]
43          }
44        ]
45      },
46      {
47        "name": "AbilityA",
48        "srcEntry": "./ets/abilitya/AbilityA.ets",
49        "description": "$string:TestAbility_desc",
50        "icon": "$media:icon",
51        "label": "$string:TestAbility_label",
52        "exported": true,
53        "startWindowIcon": "$media:icon",
54        "startWindowBackground": "$color:start_window_background",
55        "skills": [
56          {
57            "actions": [
58              "action.system.home",
59              "ohos.want.action.viewData"
60            ],
61            "entities": [
62              "entity.system.home",
63              "entity.system.browsable"
64            ],
65            "uris": [
66              {
67                "scheme": "https",
68                "host": "www.rely.AbilityA.com"
69              }
70            ],
71            "domainVerify": true
72          }
73        ]
74      },
75      {
76        "name": "AbilityB",
77        "srcEntry": "./ets/abilityb/AbilityB.ets",
78        "description": "$string:TestAbility_desc",
79        "icon": "$media:icon",
80        "label": "$string:TestAbility_label",
81        "exported": true,
82        "startWindowIcon": "$media:icon",
83        "startWindowBackground": "$color:start_window_background",
84        "skills": [
85          {
86            "actions": [
87              "action.system.home",
88              "ohos.want.action.viewData"
89            ],
90            "entities": [
91              "entity.system.home",
92              "entity.system.browsable"
93            ],
94            "uris": [
95              {
96                "scheme": "https",
97                "host": "www.rely.AbilityB.com",
98              }
99            ],
100            "domainVerify": true
101          }
102        ],
103        "permissions": [
104          "ohos.permission.USE_BLUETOOTH"
105        ]
106      },
107      {
108        "name": "AbilityC",
109        "srcEntry": "./ets/abilityc/AbilityC.ets",
110        "description": "$string:TestAbility_desc",
111        "icon": "$media:icon",
112        "label": "$string:TestAbility_label",
113        "exported": true,
114        "startWindowIcon": "$media:icon",
115        "startWindowBackground": "$color:start_window_background",
116        "skills": [
117          {
118            "actions": [
119              "action.system.home"
120            ],
121            "entities": [
122              "entity.system.home"
123            ]
124          }
125        ]
126      },
127      {
128        "name": "AbilityD",
129        "srcEntry": "./ets/abilityd/AbilityD.ets",
130        "description": "$string:TestAbility_desc",
131        "icon": "$media:icon",
132        "label": "$string:TestAbility_label",
133        "exported": true,
134        "startWindowIcon": "$media:icon",
135        "startWindowBackground": "$color:start_window_background",
136        "skills": [
137          {
138            "actions": [
139              "action.system.home"
140            ],
141            "entities": [
142              "entity.system.home"
143            ]
144          }
145        ],
146        "permissions": [
147          "ohos.permission.USE_BLUETOOTH"
148        ]
149      },
150      {
151        "name": "AbilityE",
152        "srcEntry": "./ets/abilitye/AbilityE.ets",
153        "description": "$string:TestAbility_desc",
154        "icon": "$media:icon",
155        "label": "$string:TestAbility_label",
156        "exported": false,
157        "startWindowIcon": "$media:icon",
158        "startWindowBackground": "$color:start_window_background",
159        "skills": [
160          {
161            "actions": [
162              "action.system.home"
163            ],
164            "entities": [
165              "entity.system.home"
166            ]
167          }
168        ]
169      }
170    ],
171    "extensionAbilities": [
172      {
173        "name": "EntryBackupAbility",
174        "srcEntry": "./ets/entrybackupability/EntryBackupAbility.ets",
175        "type": "backup",
176        "exported": false,
177        "metadata": [
178          {
179            "name": "ohos.extension.backup",
180            "resource": "$profile:backup_config"
181          }
182        ]
183      }
184    ]
185  }
186}