• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  "module": {
3    "name": "entry",
4    "type": "entry",
5    "description": "$string:module_desc",
6    "mainElement": "EntryAbility",
7    "deviceTypes": [
8      "default",
9      "tablet"
10    ],
11    "deliveryWithInstall": true,
12    "installationFree": false,
13    "pages": "$profile:main_pages",
14    "abilities": [
15      {
16        "name": "EntryAbility",
17        "srcEntry": "./ets/entryability/EntryAbility.ts",
18        "description": "$string:EntryAbility_desc",
19        "icon": "$media:icon",
20        "label": "$string:EntryAbility_label",
21        "startWindowIcon": "$media:icon",
22        "startWindowBackground": "$color:start_window_background",
23        "exported": true,
24        "skills": [
25          {
26            "entities": [
27              "entity.system.home"
28            ],
29            "actions": [
30              "action.system.home"
31            ]
32          }
33        ]
34      }
35    ],
36    "extensionAbilities": [
37      {
38        "name": "UIExtAbility",
39        "srcEntry": "./ets/uiextability/UIExtAbility.ts",
40        "description": "$string:UIExtAbility_desc",
41        "icon": "$media:icon",
42        "label": "$string:UIExtAbility_label",
43        "type": "ui",
44        "exported": true,
45        "metadata": [
46          {
47            "name": "ohos.extension.servicetype",
48            "value": "share"
49          }
50        ]
51      }
52    ],
53    "requestPermissions": [
54      {
55        "name": "ohos.permission.START_ABILITIES_FROM_BACKGROUND"
56      },
57      {
58        "name": "ohos.permission.START_INVISIBLE_ABILITY"
59      }
60    ]
61  }
62}