• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  "module": {
3    "name": "entry_test",
4    "type": "feature",
5    "description": "$string:module_test_desc",
6    "mainElement": "TestAbility",
7    "deviceTypes": [
8      "phone",
9      "tablet"
10    ],
11    "deliveryWithInstall": true,
12    "installationFree": false,
13    "pages": "$profile:test_pages",
14    "abilities": [
15      {
16        "name": "TestAbility",
17        "srcEntry": "./ets/TestAbility/TestAbility.ets",
18        "description": "$string:TestAbility_desc",
19        "icon": "$media:icon",
20        "label": "$string:TestAbility_label",
21        "exported": true,
22        "startWindowIcon": "$media:icon",
23        "startWindowBackground": "$color:start_window_background",
24        "skills": [
25          {
26            "actions": [
27              "action.system.home"
28            ],
29            "entities": [
30              "entity.system.home"
31            ]
32          }
33        ]
34      }
35    ],
36    "requestPermissions": [
37      {
38        "name": "ohos.permission.ACCESS_CERT_MANAGER"
39      },
40      {
41        "name": "ohos.permission.GET_BUNDLE_INFO"
42      },
43      {
44        "name": "ohos.permission.ACCESS_CERT_MANAGER_INTERNAL",
45        "reason": "$string:ACCESS_CERT_MANAGER_INTERNAL_desc"
46      }
47    ]
48  }
49}
50