/* * Copyright (C) 2024 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": "entry", "type": "entry", "description": "$string:module_desc", "mainElement": "MainAbility", "deviceTypes": [ "default", "tablet", "2in1" ], "deliveryWithInstall": true, "installationFree": false, "pages": "$profile:main_pages", "uiSyntax": "ets", "abilities": [ { "name": "MainAbility", "srcEntry": "./ets/MainAbility/MainAbility.ts", "description": "$string:MainAbility_desc", "icon": "$media:image", "label": "$string:MainAbility_label", "startWindowIcon": "$media:image", "startWindowBackground": "$color:white", "exported": true, "skills": [ { "entities": [ "entity.system.home" ], "actions": [ "action.system.home" ] } ] } ], "requestPermissions": [ { "name": "ohos.permission.CAPTURE_SCREEN" }, { "name": "ohos.permission.WRITE_MEDIA" }, { "name": "ohos.permission.READ_MEDIA" }, { "name": "ohos.permission.INTERNET" }, { "name": "ohos.permission.MEDIA_LOCATION" }, { "name": "ohos.permission.CAMERA" }, { "name": "ohos.permission.MICROPHONE" }, { "name": "ohos.permission.START_INVISIBLE_ABILITY" }, { "name": "ohos.permission.SYSTEM_FLOAT_WINDOW" }, { "name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED" }, { "name": "ohos.permission.ACCELEROMETER" }, { "name": "ohos.permission.REMOVE_CACHE_FILES" }, { "name": "ohos.permission.GET_INSTALLED_BUNDLE_LIST" }, { "name": "ohos.permission.CHANGE_ABILITY_ENABLED_STATE" }, { "name": "ohos.permission.GET_WIFI_INFO" }, { "name": "ohos.permission.READ_IMAGEVIDEO" }, { "name": "ohos.permission.WRITE_IMAGEVIDEO" }, { "name": "ohos.permission.ACCESS_SCREEN_LOCK_INNER" }, { "name": "ohos.permission.INPUT_MONITORING" }, { "name": "ohos.permission.GET_WIFI_INFO_INTERNAL" }, { "name": "ohos.permission.SET_WIFI_INFO" }, { "name": "ohos.permission.GET_WIFI_PEERS_MAC" }, { "name": "ohos.permission.GET_WIFI_LOCAL_MAC" }, { "name": "ohos.permission.GET_WIFI_CONFIG" }, { "name": "ohos.permission.SET_WIFI_CONFIG" }, { "name": "ohos.permission.MANAGE_WIFI_CONNECTION" }, { "name": "ohos.permission.MANAGE_WIFI_HOTSPOT" }, { "name": "ohos.permission.LOCATION" }, { "name": "ohos.permission.APPROXIMATELY_LOCATION" }, { "name": "ohos.permission.USE_BLUETOOTH" }, { "name": "ohos.permission.DISCOVER_BLUETOOTH" }, { "name": "ohos.permission.MANAGE_BLUETOOTH" }, { "name": "ohos.permission.ACCESS_BLUETOOTH" }, { "name": "ohos.permission.ACTIVITY_MOTION" }, { "name": "ohos.permission.REBOOT" }, { "name": "ohos.permission.ACCESS_BIOMETRIC" } ] } }