/* * 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", "srcEntrance": "./ets/Application/MyAbilityStage.ts", "description": "$string:entry_desc", "mainElement": "MainAbility", "deviceTypes": [ "default", "tablet", "2in1", "phone" ], "deliveryWithInstall": true, "installationFree": false, "pages": "$profile:main_pages", "abilities": [], "requestPermissions": [ { "name": "ohos.permission.MANAGE_SECURE_SETTINGS" }, { "name": "ohos.permission.MANAGE_SETTINGS" }, { "name": "ohos.permission.GET_BUNDLE_INFO" } ], "extensionAbilities": [ { "name": "ToastExtensionAbility", "srcEntrance": "./ets/ServiceExtAbility/ToastExtensionAbility.ts", "description": "$string:ToastExtensionAbility_desc", "icon": "$media:icon", "label":"$string:ToastExtensionAbility_label", "visible": false, "type": "service" }, { "name": "PasteboardSwitchAbility", "srcEntry": "./ets/pasteboardswitchability/PasteboardSwitchAbility.ets", "description": "$string:PasteboardSwitchAbility_desc", "label": "$string:PasteboardSwitchAbility_label", "type": "sys/commonUI", "exported": true } ], "metadata": [ { "name": "action.settings.search.path", "value": "searchConfig/searchPage.json" } ] } }