• 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      "wearable"
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        "name": "AssistantAbility",
37        "srcEntry": "./ets/AssistantAbility/AssistantAbility.ets",
38        "description": "$string:TestAbility_desc",
39        "icon": "$media:icon",
40        "label": "$string:TestAbility_label",
41        "exported": true,
42        "startWindowIcon": "$media:icon",
43        "startWindowBackground": "$color:start_window_background"
44      },
45      {
46        "name": "Assistant1Ability",
47        "srcEntry": "./ets/Assistant1Ability/Assistant1Ability.ets",
48        "description": "$string:TestAbility_desc",
49        "icon": "$media:icon",
50        "label": "$string:TestAbility_label",
51        "exported": true,
52        "startWindowIcon": "$media:icon",
53        "startWindowBackground": "$color:start_window_background"
54      }
55    ],
56    "requestPermissions": [
57      {
58        "name": "ohos.permission.START_ABILITIES_FROM_BACKGROUND"
59      },
60      {
61        "name": "ohos.permission.START_INVISIBLE_ABILITY"
62      },
63      {
64        "name": "ohos.permission.ABILITY_BACKGROUND_COMMUNICATION"
65      },
66      {
67        "name": "ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS"
68      },
69      {
70        "name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
71      },
72      {
73        "name": "ohos.permission.GET_BUNDLE_INFO"
74      }
75    ]
76  }
77}