• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  "module": {
3    "name": "entry",
4    "type": "entry",
5    "srcEntrance": "./ets/Application/AbilityStage.ts",
6    "description": "$string:entry_desc",
7    "mainElement": "MainAbility",
8    "deviceTypes": [
9        "default",
10        "tablet",
11        "2in1"
12    ],
13    "deliveryWithInstall": true,
14    "installationFree": false,
15    "pages": "$profile:main_pages",
16    "uiSyntax": "ets",
17    "abilities": [
18      {
19        "name": "MainAbility",
20        "srcEntrance": "./ets/MainAbility/MainAbility.ts",
21        "description": "$string:MainAbility_desc",
22        "icon": "$media:icon",
23        "label": "$string:MainAbility_label",
24        "visible": true,
25        "skills": [
26          {
27            "entities": [
28              "entity.system.home"
29            ],
30            "actions": [
31              "action.system.home"
32            ]
33          }
34        ]
35      },
36      {
37        "name": "MainAbility2",
38        "srcEntrance": "./ets/MainAbility2/MainAbility2.ts",
39        "description": "$string:MainAbility2_desc",
40        "icon": "$media:icon",
41        "label": "$string:MainAbility2_label",
42        "visible": true,
43        "launchType": "singleton"
44      },
45      {
46        "name": "MainAbility3",
47        "srcEntrance": "./ets/MainAbility3/MainAbility3.ts",
48        "description": "$string:MainAbility3_desc",
49        "icon": "$media:icon",
50        "label": "$string:MainAbility3_label",
51        "visible": true,
52        "launchType": "singleton"
53      },
54      {
55        "name": "MainAbility4",
56        "srcEntrance": "./ets/MainAbility4/MainAbility4.ts",
57        "description": "$string:MainAbility4_desc",
58        "icon": "$media:icon",
59        "label": "$string:MainAbility4_label",
60        "visible": true,
61        "launchType": "singleton"
62      },
63      {
64        "name": "MainAbility5",
65        "srcEntrance": "./ets/MainAbility5/MainAbility5.ts",
66        "description": "$string:MainAbility5_desc",
67        "icon": "$media:icon",
68        "label": "$string:MainAbility5_label",
69        "visible": true,
70        "launchType": "singleton"
71      }
72    ],
73    "requestPermissions": [
74      {
75        "name":"ohos.permission.START_ABILITIES_FROM_BACKGROUND",
76        "reason":"need use ohos.permission.START_ABILITIES_FROM_BACKGROUND"
77      }
78    ]
79  }
80}