1/*
2 * Copyright (C) 2024 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:entry_desc",
21    "mainElement": "MainAbility",
22    "deviceTypes": [
23      "default",
24      "tablet",
25      "2in1",
26      "wearable"
27    ],
28    "deliveryWithInstall": true,
29    "installationFree": false,
30    "uiSyntax": "ets",
31    "pages": "$profile:main_pages",
32    "abilities": [
33      {
34        "continuable": true,
35        "name": "com.acts.rpc.request.test.server.MainAbility",
36        "srcEntry": "./ets/MainAbility/MainAbility.ts",
37        "description": "$string:MainAbility_desc",
38        "icon": "$media:app_icon",
39        "label": "$string:MainAbility_label",
40        "visible": true,
41        "orientation": "portrait",
42        "startWindowIcon": "$media:app_icon",
43        "startWindowBackground": "$color:white",
44        "exported": true,
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.rpc.request.test.server.ServiceAbility",
60        "srcEntry": "./ets/serviceability/ServiceAbility.ts",
61        "label": "$string:MainAbility_label",
62        "description": "$string:description_serviceability",
63        "type": "service",
64        "visible": true
65      }
66    ],
67    "requestPermissions": [
68      {
69        "name": "ohos.permission.GET_BUNDLE_INFO"
70      },
71      {
72        "name": "ohos.permission.DISTRIBUTED_DATASYNC"
73      },
74      {
75        "name": "ohos.permission.GET_DISTRIBUTED_DEVICE_INFO"
76      },
77      {
78        "name": "ohos.permission.ACCESS_SERVICE_DM"
79      }
80    ]
81  }
82}