• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  "module": {
3    "name": "entry",
4    "type": "entry",
5    "description": "$string:module_test_desc",
6    "mainElement": "TestAbility",
7    "deviceTypes": [
8      "default",
9      "tablet",
10      "2in1",
11      "wearable"
12    ],
13    "deliveryWithInstall": true,
14    "installationFree": false,
15    "pages": "$profile:test_pages",
16    "abilities": [
17      {
18        "name": "TestAbility",
19        "srcEntry": "./ets/testability/TestAbility.ets",
20        "description": "$string:TestAbility_desc",
21        "icon": "$media:icon",
22        "label": "$string:TestAbility_label",
23        "exported": true,
24        "startWindowIcon": "$media:icon",
25        "startWindowBackground": "$color:start_window_background",
26        "skills": [
27          {
28            "actions": [
29              "action.system.home"
30            ],
31            "entities": [
32              "entity.system.home"
33            ]
34          }
35        ]
36      },
37      {
38        "name": "EntryAbility",
39        "srcEntry": "./ets/entryability/EntryAbility.ts",
40        "description": "$string:EntryAbility_desc",
41        "icon": "$media:icon",
42        "label": "$string:EntryAbility_label",
43        "startWindowIcon": "$media:icon",
44        "startWindowBackground": "$color:start_window_background",
45        "exported": true
46      }
47    ],
48    "requestPermissions": [
49      {
50        "name": "ohos.permission.INSTALL_CLONE_BUNDLE",
51        "reason": "need use ohos.permission.INSTALL_CLONE_BUNDLE"
52      },
53      {
54        "name": "ohos.permission.UNINSTALL_CLONE_BUNDLE",
55        "reason": "need use ohos.permission.UNINSTALL_CLONE_BUNDLE"
56      },
57      {
58        "name": "ohos.permission.START_ABILIIES_FROM_BACKGROUND",
59        "reason": "need use ohos.permission.START_ABILIIES_FROM_BACKGROUND"
60      },
61      {
62        "name": "ohos.permission.ABILITY_BACKGROUND_COMMUNICATION",
63        "reason": "need use ohos.permission.ABILITY_BACKGROUND_COMMUNICATION"
64      }
65    ]
66  }
67}