1/*
2 * Copyright (c) 2022 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
17{
18  "module": {
19    "name": "default",
20    "type": "entry",
21    "srcEntrance": "./ets/Application/AbilityStage.ts",
22    "description": "$string:entry_MainAbility",
23    "mainElement": "MainAbility",
24    "deviceTypes": [
25      "tablet",
26      "default"
27    ],
28    "requestPermissions": [
29      {
30        "name": "ohos.permission.INTERNET"
31      },
32      {
33        "name": "ohos.permission.MEDIA_LOCATION",
34        "reason": "$string:media_location_permission"
35      },
36      {
37        "name": "ohos.permission.DISTRIBUTED_DATASYNC",
38        "reason": "$string:distributed_dataSync_permission"
39      },
40      {
41        "name": "ohos.permission.START_ABILITIES_FROM_BACKGROUND"
42      },
43      {
44        "name": "ohos.permission.READ_IMAGEVIDEO",
45        "reason": "$string:read_image_video_permission"
46      },
47      {
48        "name": "ohos.permission.WRITE_IMAGEVIDEO",
49        "reason": "$string:write_image_video_permission"
50      }
51    ],
52    "deliveryWithInstall": true,
53    "installationFree": false,
54    "pages": "$profile:main_pages",
55    "uiSyntax": "ets",
56    "metadata": [
57      {
58        "name": "ArkTSPartialUpdate",
59        "value": "true"
60      }
61    ],
62    "abilities": [
63      {
64        "name": "MainAbility",
65        "srcEntrance": "./ets/MainAbility/MainAbility.ts",
66        "description": "$string:entry_MainAbility",
67        "icon": "$media:note",
68        "label": "$string:entry_MainAbility",
69        "visible": true,
70        "continuable": true,
71        "skills": [
72          {
73            "entities": [
74              "entity.system.home"
75            ],
76            "actions": [
77              "action.system.home"
78            ]
79          }
80        ],
81        "startWindowBackground": "$color:color_1",
82        "startWindowIcon": "$media:note"
83      }
84    ]
85  }
86}