/* * Copyright (c) 2023 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ { "module": { "name": "tablet", "type": "entry", "srcEntry": "./ets/Application/AbilityStage.ts", "description": "$string:entry_desc", "mainElement": "com.ohos.camera.MainAbility", "deviceTypes": [ "tablet" ], "deliveryWithInstall": true, "installationFree": false, "pages": "$profile:main_pages", "metadata": [ { "name": "ArkTSPartialUpdate", "value": "true" } ], "requestPermissions": [ { "name": "ohos.permission.MEDIA_LOCATION" }, { "name": "ohos.permission.INTERNET" }, { "name": "ohos.permission.MODIFY_AUDIO_SETTINGS" }, { "name": "ohos.permission.READ_IMAGEVIDEO" }, { "name": "ohos.permission.WRITE_IMAGEVIDEO" }, { "name": "ohos.permission.GET_BUNDLE_INFO" }, { "name": "ohos.permission.CAMERA" }, { "name": "ohos.permission.MICROPHONE" }, { "name": "ohos.permission.DISTRIBUTED_DATASYNC" }, { "name": "ohos.permission.LOCATION" }, { "name": "ohos.permission.LOCATION_IN_BACKGROUND" }, { "name": "ohos.permission.APPROXIMATELY_LOCATION" }, { "name": "ohos.permission.ACCESS_SERVICE_DM" }, { "name": "ohos.permission.PROXY_AUTHORIZATION_URI" } ], "abilities": [ { "name": "com.ohos.camera.MainAbility", "srcEntrance": "./ets/MainAbility/MainAbility.ts", "startWindowIcon": "$media:icon", "startWindowBackground": "$color:startWindowBackground", "launchType": "singleton", "description": "$string:mainability_description", "icon": "$media:icon", "label": "$string:app_name", "visible": true, "skills": [ { "entities": [ "entity.system.home" ], "actions": [ "action.system.home", "ohos.want.action.imageCapture", "ohos.want.action.videoCapture" ] } ], "minWindowHeight": 558, "minWindowWidth": 844, "maxWindowHeight": 800, "maxWindowWidth": 1280 } ], "extensionAbilities": [ { "name": "com.ohos.camera.FormAbility", "srcEntrance": "./ets/FormAbility/FormAbility.ts", "label": "$string:app_name", "description": "$string:app_name", "type": "form", "metadata": [ { "name": "ohos.extension.form", "resource": "$profile:form_config" } ] } ] } }