• 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    ],
10    "deliveryWithInstall": true,
11    "installationFree": false,
12    "pages": "$profile:main_pages",
13    "metadata":[
14      {
15        "name":"test_metadata"
16      }
17    ],
18    "abilities": [
19      {
20        "name": "EntryAbility",
21        "srcEntry": "./ets/entryability/EntryAbility.ts",
22        "description": "$string:EntryAbility_desc",
23        "icon": "$media:icon",
24        "label": "$string:EntryAbility_label",
25        "startWindowIcon": "$media:icon",
26        "startWindowBackground": "$color:start_window_background",
27        "exported": true,
28        "skills": [
29          {
30            "entities": [
31              "entity.system.home"
32            ],
33            "actions": [
34              "action.system.home"
35            ]
36          }
37        ]
38      },
39      {
40        "name": "OtherAbility",
41        "srcEntry": "./ets/otherability/OtherAbility.ts",
42        "description": "$string:OtherAbility_desc",
43        "visible": true,
44        "icon": "$media:icon",
45        "label": "$string:OtherAbility_label",
46        "startWindowIcon": "$media:icon",
47        "startWindowBackground": "$color:start_window_background"
48      },
49      {
50        "name": "CalledAbility",
51        "srcEntry": "./ets/calledability/CalledAbility.ts",
52        "description": "$string:CalledAbility_desc",
53        "visible": true,
54        "icon": "$media:icon",
55        "label": "$string:CalledAbility_label",
56        "launchType": "standard",
57        "exported": false,
58        "startWindowIcon": "$media:icon",
59        "startWindowBackground": "$color:start_window_background"
60      }
61    ],
62    "extensionAbilities": [
63      {
64        "name": "UIExtAbility",
65        "icon": "$media:icon",
66        "description": "UIExtAbility",
67        "type": "share",
68        "visible": true,
69        "srcEntrance": "./ets/UIExtensionAbility/UIExtAbility.ts"
70      },
71      {
72        "name": "ActsShareExtensionAbility",
73        "icon": "$media:icon",
74        "description": "ActsShareExtensionAbility",
75        "type": "share",
76        "visible": true,
77        "srcEntrance": "./ets/shareextensionability/ActsShareExtensionAbility.ts"
78      }
79    ],
80    "requestPermissions": [
81      {
82        "name": "ohos.permission.START_ABILITIES_FROM_BACKGROUND"
83      }
84    ]
85  }
86}