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{
17  "module": {
18    "name": "tablet",
19    "type": "entry",
20    "srcEntry": "./ets/Application/AbilityStage.ts",
21    "description": "$string:entry_desc",
22    "mainElement": "com.ohos.camera.MainAbility",
23    "deviceTypes": [
24      "tablet"
25    ],
26    "deliveryWithInstall": true,
27    "installationFree": false,
28    "pages": "$profile:main_pages",
29    "metadata": [
30      {
31        "name": "ArkTSPartialUpdate",
32        "value": "true"
33      }
34    ],
35    "requestPermissions": [
36      {
37        "name": "ohos.permission.MEDIA_LOCATION"
38      },
39      {
40        "name": "ohos.permission.INTERNET"
41      },
42      {
43        "name": "ohos.permission.MODIFY_AUDIO_SETTINGS"
44      },
45      {
46        "name": "ohos.permission.READ_IMAGEVIDEO"
47      },
48      {
49        "name": "ohos.permission.WRITE_IMAGEVIDEO"
50      },
51      {
52        "name": "ohos.permission.GET_BUNDLE_INFO"
53      },
54      {
55        "name": "ohos.permission.CAMERA"
56      },
57      {
58        "name": "ohos.permission.MICROPHONE"
59      },
60      {
61        "name": "ohos.permission.DISTRIBUTED_DATASYNC"
62      },
63      {
64        "name": "ohos.permission.LOCATION"
65      },
66      {
67        "name": "ohos.permission.LOCATION_IN_BACKGROUND"
68      },
69      {
70        "name": "ohos.permission.APPROXIMATELY_LOCATION"
71      },
72      {
73        "name": "ohos.permission.ACCESS_SERVICE_DM"
74      },
75      {
76        "name": "ohos.permission.PROXY_AUTHORIZATION_URI"
77      }
78    ],
79    "abilities": [
80      {
81        "name": "com.ohos.camera.MainAbility",
82        "srcEntrance": "./ets/MainAbility/MainAbility.ts",
83        "startWindowIcon": "$media:icon",
84        "startWindowBackground": "$color:startWindowBackground",
85        "launchType": "singleton",
86        "description": "$string:mainability_description",
87        "icon": "$media:icon",
88        "label": "$string:app_name",
89        "visible": true,
90        "skills": [
91          {
92            "entities": [
93              "entity.system.home"
94            ],
95            "actions": [
96              "action.system.home",
97              "ohos.want.action.imageCapture",
98              "ohos.want.action.videoCapture"
99            ]
100          }
101        ],
102        "minWindowHeight": 558,
103        "minWindowWidth": 844,
104        "maxWindowHeight": 800,
105        "maxWindowWidth": 1280
106      }
107    ],
108    "extensionAbilities": [
109      {
110        "name": "com.ohos.camera.FormAbility",
111        "srcEntrance": "./ets/FormAbility/FormAbility.ts",
112        "label": "$string:app_name",
113        "description": "$string:app_name",
114        "type": "form",
115        "metadata": [
116          {
117            "name": "ohos.extension.form",
118            "resource": "$profile:form_config"
119          }
120        ]
121      }
122    ]
123  }
124}