/* * 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": "entry", "type": "entry", "srcEntry": "./ets/Application/AbilityStage.ets", "description": "$string:entry_desc", "deviceTypes": [ "default", "tablet", "2in1" ], "deliveryWithInstall": true, "installationFree": false, "pages": "$profile:main_pages", "metadata": [ { "name": "ArkTSPartialUpdate", "value": "true" } ], "abilities": [ { "name": "AlertAbility", "srcEntry": "./ets/AlertAbility/AlertAbility.ets", "description": "$string:MainAbility_desc", "icon": "$media:app_icon", "label": "$string:MainAbility_label", "startWindowIcon": "$media:icon", "startWindowBackground": "$color:white", "excludeFromMissions": true, "exported": true, "removeMissionAfterTerminate": true }, { "name": "SaveAsAbility", "srcEntry": "./ets/SaveAsAbility/SaveAsAbility.ets", "description": "$string:MainAbility_desc", "icon": "$media:icon", "label": "$string:MainAbility_label", "startWindowIcon": "$media:icon", "startWindowBackground": "$color:white" } ], "extensionAbilities": [ { "name": "DialogUIExtAbility", "icon": "$media:icon", "description": "DialogUIExtAbility", "type": "sys/commonUI", "exported": true, "srcEntry": "./ets/DialogUIExtAbility/DialogUIExtAbility.ets" }, { "name": "MainAbilityEx", "icon": "$media:icon", "description": "MainAbilityEx", "type": "sys/commonUI", "exported": true, "srcEntry": "./ets/MainAbility/MainAbilityEx.ets", "metadata": [ { "name": "ohos.extension.servicetype", "value": "share" } ] }, { "name": "ViewAbility", "srcEntry": "./ets/ViewAbility/ViewAbility.ets", "icon": "$media:icon", "description": "$string:ViewAbility_desc", "type": "service", "exported": false }, { "name": "DataAbility", "srcEntry": "./ets/DataAbility/DataAbility.ets", "icon": "$media:icon", "description": "$string:ViewAbility_desc", "type": "service" }, { "name": "ServiceExtAbility", "srcEntry": "./ets/serviceExtensionAbility/ServiceExtAbility.ets", "icon": "$media:icon", "description": "service", "type": "service", "exported": false }, { "name": "EncryptedSharingAbility", "srcEntry": "./ets/EncryptedSharingAbility/EncryptedSharingAbility.ets", "icon": "$media:ic_public_lock", "label": "$string:EncryptedSharing", "description": "service", "type": "action", "extensionProcessMode": "instance", "exported": true } ], "requestPermissions": [ { "name": "ohos.permission.ACCESS_DLP_FILE" }, { "name": "ohos.permission.GET_LOCAL_ACCOUNTS" }, { "name": "ohos.permission.START_ABILITIES_FROM_BACKGROUND" }, { "name": "ohos.permission.GET_BUNDLE_INFO" }, { "name": "ohos.permission.GET_DOMAIN_ACCOUNTS" }, { "name": "ohos.permission.GET_NETWORK_INFO" }, { "name": "ohos.permission.START_DLP_CRED" } ] } }