1/*
2 * Copyright (C) 2023 Huawei Device Co., Ltd.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
6 *
7 *     http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 */
15{
16  "module": {
17    "name": "entry",
18    "type": "entry",
19    "srcEntry": "./ets/Application/AbilityStage.ts",
20    "description": "$string:module_desc",
21    "mainElement": "MainAbility",
22    "deviceTypes": [
23      "default",
24      "tablet",
25      "phone",
26      "2in1",
27      "wearable"
28    ],
29    "deliveryWithInstall": true,
30    "installationFree": false,
31    "uiSyntax": "ets",
32    "pages": "$profile:main_pages",
33    "abilities": [
34      {
35        "continuable": true,
36        "name": "MainAbility",
37        "srcEntry": "./ets/mainAbility/MainAbility.ts",
38        "description": "$string:EntryAbility_desc",
39        "icon": "$media:icon",
40        "label": "$string:EntryAbility_label",
41        "visible": true,
42        "orientation": "portrait",
43        "startWindowIcon": "$media:app_icon",
44        "startWindowBackground": "$color:white",
45        "skills": [
46          {
47            "actions": [
48              "action.system.home"
49            ],
50            "entities": [
51              "entity.system.home"
52            ]
53          }
54        ]
55      }
56    ],
57    "extensionAbilities": [
58      {
59        "name": "com.acts.avsessionserver.ServiceAbility",
60        "srcEntrance": "./ets/serviceability/ServiceAbility.ts",
61        "type": "service",
62        "visible": true,
63        "description": "service"
64      }
65    ],
66    "requestPermissions": [
67      {
68        "name": "ohos.permission.DISTRIBUTED_DATASYNC"
69      },
70      {
71        "name": "ohos.permission.GET_DISTRIBUTED_DEVICE_INFO"
72      },
73      {
74        "name": "ohos.permission.GET_BUNDLE_INFO"
75      },
76      {
77        "name": "ohos.permission.MANAGE_MEDIA_RESOURCES"
78      },
79      {
80        "name": "ohos.permission.ACCESS_SERVICE_DM"
81      },
82      {
83        "name": "ohos.permission.KEEP_BACKGROUND_RUNNING"
84      }
85    ]
86  }
87}