1{ 2 "module": { 3 "name": "entry", 4 "type": "entry", 5 "srcEntry": "./ets/Application/AbilityStage.ets", 6 "description": "$string:entry_desc", 7 "deviceTypes": [ 8 "default", 9 "tablet", 10 "2in1" 11 ], 12 "deliveryWithInstall": true, 13 "installationFree": false, 14 "pages": "$profile:main_pages", 15 "metadata": [ 16 { 17 "name": "ArkTSPartialUpdate", 18 "value": "true" 19 } 20 ], 21 "abilities": [ 22 { 23 "name": "AlertAbility", 24 "srcEntry": "./ets/AlertAbility/AlertAbility.ets", 25 "description": "$string:MainAbility_desc", 26 "icon": "$media:app_icon", 27 "label": "$string:MainAbility_label", 28 "startWindowIcon": "$media:icon", 29 "startWindowBackground": "$color:white", 30 "excludeFromMissions": true, 31 "exported": true, 32 "removeMissionAfterTerminate": true 33 }, 34 { 35 "name": "SaveAsAbility", 36 "srcEntry": "./ets/SaveAsAbility/SaveAsAbility.ets", 37 "description": "$string:MainAbility_desc", 38 "icon": "$media:icon", 39 "label": "$string:MainAbility_label", 40 "startWindowIcon": "$media:icon", 41 "startWindowBackground": "$color:white" 42 } 43 ], 44 "extensionAbilities": [ 45 { 46 "name": "DialogUIExtAbility", 47 "icon": "$media:icon", 48 "description": "DialogUIExtAbility", 49 "type": "sys/commonUI", 50 "exported": true, 51 "srcEntry": "./ets/DialogUIExtAbility/DialogUIExtAbility.ets" 52 }, 53 { 54 "name": "MainAbilityEx", 55 "icon": "$media:icon", 56 "description": "MainAbilityEx", 57 "type": "sys/commonUI", 58 "exported": true, 59 "srcEntry": "./ets/MainAbility/MainAbilityEx.ets", 60 "metadata": [ 61 { 62 "name": "ohos.extension.servicetype", 63 "value": "share" 64 } 65 ] 66 }, 67 { 68 "name": "ViewAbility", 69 "srcEntry": "./ets/ViewAbility/ViewAbility.ets", 70 "icon": "$media:icon", 71 "description": "$string:ViewAbility_desc", 72 "type": "service", 73 "exported": false 74 }, 75 { 76 "name": "DataAbility", 77 "srcEntry": "./ets/DataAbility/DataAbility.ets", 78 "icon": "$media:icon", 79 "description": "$string:ViewAbility_desc", 80 "type": "service" 81 }, 82 { 83 "name": "ServiceExtAbility", 84 "srcEntry": "./ets/serviceExtensionAbility/ServiceExtAbility.ets", 85 "icon": "$media:icon", 86 "description": "service", 87 "type": "service", 88 "exported": false 89 }, 90 { 91 "name": "EncryptedSharingAbility", 92 "srcEntry": "./ets/EncryptedSharingAbility/EncryptedSharingAbility.ets", 93 "icon": "$media:ic_public_lock", 94 "label": "$string:EncryptedSharing", 95 "description": "service", 96 "type": "action", 97 "extensionProcessMode": "instance", 98 "exported": true 99 } 100 ], 101 "requestPermissions": [ 102 { 103 "name": "ohos.permission.ACCESS_DLP_FILE" 104 }, 105 { 106 "name": "ohos.permission.GET_LOCAL_ACCOUNTS" 107 }, 108 { 109 "name": "ohos.permission.START_ABILITIES_FROM_BACKGROUND" 110 }, 111 { 112 "name": "ohos.permission.GET_BUNDLE_INFO" 113 }, 114 { 115 "name": "ohos.permission.GET_DOMAIN_ACCOUNTS" 116 }, 117 { 118 "name": "ohos.permission.GET_NETWORK_INFO" 119 }, 120 { 121 "name": "ohos.permission.START_DLP_CRED" 122 } 123 ] 124 } 125} 126