1bc03f14fSopenharmony_ci/* 2bc03f14fSopenharmony_ci * Copyright (c) 2024 Huawei Device Co., Ltd. 3bc03f14fSopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License"); 4bc03f14fSopenharmony_ci * you may not use this file except in compliance with the License. 5bc03f14fSopenharmony_ci * You may obtain a copy of the License at 6bc03f14fSopenharmony_ci * 7bc03f14fSopenharmony_ci * http://www.apache.org/licenses/LICENSE-2.0 8bc03f14fSopenharmony_ci * 9bc03f14fSopenharmony_ci * Unless required by applicable law or agreed to in writing, software 10bc03f14fSopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS, 11bc03f14fSopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12bc03f14fSopenharmony_ci * See the License for the specific language governing permissions and 13bc03f14fSopenharmony_ci * limitations under the License. 14bc03f14fSopenharmony_ci */ 15bc03f14fSopenharmony_ci{ 16bc03f14fSopenharmony_ci "module": { 17bc03f14fSopenharmony_ci "name": "entry", 18bc03f14fSopenharmony_ci "type": "entry", 19bc03f14fSopenharmony_ci "srcEntrance": "./ets/Application/MyAbilityStage.ts", 20bc03f14fSopenharmony_ci "description": "$string:entry_desc", 21bc03f14fSopenharmony_ci "mainElement": "MainAbility", 22bc03f14fSopenharmony_ci "deviceTypes": [ 23bc03f14fSopenharmony_ci "default", 24bc03f14fSopenharmony_ci "tablet", 25bc03f14fSopenharmony_ci "2in1", 26bc03f14fSopenharmony_ci "phone" 27bc03f14fSopenharmony_ci ], 28bc03f14fSopenharmony_ci "deliveryWithInstall": true, 29bc03f14fSopenharmony_ci "installationFree": false, 30bc03f14fSopenharmony_ci "pages": "$profile:main_pages", 31bc03f14fSopenharmony_ci "abilities": [], 32bc03f14fSopenharmony_ci "requestPermissions": [ 33bc03f14fSopenharmony_ci { 34bc03f14fSopenharmony_ci "name": "ohos.permission.MANAGE_SECURE_SETTINGS" 35bc03f14fSopenharmony_ci }, 36bc03f14fSopenharmony_ci { 37bc03f14fSopenharmony_ci "name": "ohos.permission.MANAGE_SETTINGS" 38bc03f14fSopenharmony_ci }, 39bc03f14fSopenharmony_ci { 40bc03f14fSopenharmony_ci "name": "ohos.permission.GET_BUNDLE_INFO" 41bc03f14fSopenharmony_ci } 42bc03f14fSopenharmony_ci ], 43bc03f14fSopenharmony_ci "extensionAbilities": [ 44bc03f14fSopenharmony_ci { 45bc03f14fSopenharmony_ci "name": "ToastExtensionAbility", 46bc03f14fSopenharmony_ci "srcEntrance": "./ets/ServiceExtAbility/ToastExtensionAbility.ts", 47bc03f14fSopenharmony_ci "description": "$string:ToastExtensionAbility_desc", 48bc03f14fSopenharmony_ci "icon": "$media:icon", 49bc03f14fSopenharmony_ci "label":"$string:ToastExtensionAbility_label", 50bc03f14fSopenharmony_ci "visible": false, 51bc03f14fSopenharmony_ci "type": "service" 52bc03f14fSopenharmony_ci }, 53bc03f14fSopenharmony_ci { 54bc03f14fSopenharmony_ci "name": "PasteboardSwitchAbility", 55bc03f14fSopenharmony_ci "srcEntry": "./ets/pasteboardswitchability/PasteboardSwitchAbility.ets", 56bc03f14fSopenharmony_ci "description": "$string:PasteboardSwitchAbility_desc", 57bc03f14fSopenharmony_ci "label": "$string:PasteboardSwitchAbility_label", 58bc03f14fSopenharmony_ci "type": "sys/commonUI", 59bc03f14fSopenharmony_ci "exported": true 60bc03f14fSopenharmony_ci } 61bc03f14fSopenharmony_ci ], 62bc03f14fSopenharmony_ci "metadata": [ 63bc03f14fSopenharmony_ci { 64bc03f14fSopenharmony_ci "name": "action.settings.search.path", 65bc03f14fSopenharmony_ci "value": "searchConfig/searchPage.json" 66bc03f14fSopenharmony_ci } 67bc03f14fSopenharmony_ci ] 68bc03f14fSopenharmony_ci } 69bc03f14fSopenharmony_ci}