1/** 2 * Copyright (c) 2025 Shenzhen Kaihong Digital Industry Development Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15{ 16 "module": { 17 "name": "entry_test", 18 "type": "feature", 19 "description": "$string:module_test_desc", 20 "mainElement": "TestAbility", 21 "deviceTypes": [ 22 "default", 23 "tablet", 24 ], 25 "deliveryWithInstall": true, 26 "installationFree": false, 27 "pages": "$profile:test_pages", 28 "abilities": [ 29 { 30 "name": "TestAbility", 31 "srcEntry": "./ets/testability/TestAbility.ets", 32 "description": "$string:TestAbility_desc", 33 "icon": "$media:icon", 34 "label": "$string:TestAbility_label", 35 "exported": true, 36 "startWindowIcon": "$media:icon", 37 "startWindowBackground": "$color:start_window_background", 38 "skills": [ 39 { 40 "actions": [ 41 "action.system.home" 42 ], 43 "entities": [ 44 "entity.system.home" 45 ] 46 } 47 ] 48 }, 49 { 50 "name": "MainAbility1", 51 "srcEntry": "./ets/test/MainAbility/MainAbility1.ts", 52 "description": "$string:TestAbility_desc", 53 "icon": "$media:icon", 54 "label": "$string:TestAbility_label", 55 "exported": true, 56 "startWindowIcon": "$media:icon", 57 "startWindowBackground": "$color:start_window_background", 58 "skills": [ 59 { 60 "actions": [ 61 "action.system.home", 62 "ohos.want.action.viewData" 63 ], 64 "entities": [ 65 "entity.system.home", 66 "entity.system.browsable" 67 ], 68 "uris": [ 69 { 70 "scheme": "https", 71 "host": "www.example.com" 72 } 73 ] 74 } 75 ], 76 }, 77 { 78 "name": "MainAbility2", 79 "srcEntry": "./ets/test/MainAbility/MainAbility2.ts", 80 "description": "$string:TestAbility_desc", 81 "icon": "$media:icon", 82 "label": "$string:TestAbility_label", 83 "exported": false, 84 "startWindowIcon": "$media:icon", 85 "startWindowBackground": "$color:start_window_background", 86 "skills": [ 87 { 88 "actions": [ 89 "action.system.home" 90 ], 91 "entities": [ 92 "entity.system.home" 93 ], 94 } 95 ], 96 "permissions": [ 97 "ohos.permission.ACCESS_BBOX_DIR", 98 "ohos.permission.READ_HEALTH_DATA" 99 ] 100 }, 101 { 102 "name": "applicationContext01", 103 "srcEntry": "./ets/test/applicationContext/applicationContext01.ts", 104 "description": "$string:TestAbility_desc", 105 "icon": "$media:icon", 106 "label": "$string:TestAbility_label", 107 "startWindowIcon": "$media:icon", 108 "startWindowBackground": "$color:start_window_background", 109 "launchType": "multiton", 110 "skills": [ 111 { 112 "actions": [ 113 "action.system.home", 114 "ohos.want.action.viewData" 115 ], 116 "entities": [ 117 "entity.system.home", 118 "entity.system.browsable" 119 ], 120 "uris": [ 121 { 122 "scheme": "https", 123 "host": "www.applicationContext01.com" 124 } 125 ] 126 } 127 ] 128 }, 129 { 130 "name": "applicationContext02", 131 "srcEntry": "./ets/test/applicationContext/applicationContext02.ts", 132 "description": "$string:TestAbility_desc", 133 "icon": "$media:icon", 134 "label": "$string:TestAbility_label", 135 "startWindowIcon": "$media:icon", 136 "startWindowBackground": "$color:start_window_background", 137 "launchType": "multiton", 138 "skills": [ 139 { 140 "actions": [ 141 "action.system.home", 142 "ohos.want.action.viewData" 143 ], 144 "entities": [ 145 "entity.system.home", 146 "entity.system.browsable" 147 ], 148 "uris": [ 149 { 150 "scheme": "https", 151 "host": "www.applicationContext02.com" 152 } 153 ] 154 } 155 ] 156 }, 157 { 158 "name": "applicationContext03", 159 "srcEntry": "./ets/test/applicationContext/applicationContext03.ts", 160 "description": "$string:TestAbility_desc", 161 "icon": "$media:icon", 162 "label": "$string:TestAbility_label", 163 "startWindowIcon": "$media:icon", 164 "startWindowBackground": "$color:start_window_background", 165 "launchType": "multiton", 166 "skills": [ 167 { 168 "actions": [ 169 "action.system.home", 170 "ohos.want.action.viewData" 171 ], 172 "entities": [ 173 "entity.system.home", 174 "entity.system.browsable" 175 ], 176 "uris": [ 177 { 178 "scheme": "https", 179 "host": "www.applicationContext03.com" 180 } 181 ] 182 } 183 ] 184 }, 185 { 186 "name": "applicationContext04", 187 "srcEntry": "./ets/test/applicationContext/applicationContext04.ts", 188 "description": "$string:TestAbility_desc", 189 "icon": "$media:icon", 190 "label": "$string:TestAbility_label", 191 "startWindowIcon": "$media:icon", 192 "startWindowBackground": "$color:start_window_background", 193 "exported": true, 194 "launchType": "multiton", 195 "skills": [ 196 { 197 "actions": [ 198 "action.system.home", 199 "ohos.want.action.viewData" 200 ], 201 "entities": [ 202 "entity.system.home", 203 "entity.system.browsable" 204 ], 205 "uris": [ 206 { 207 "scheme": "https", 208 "host": "www.applicationContext04.com" 209 } 210 ] 211 } 212 ] 213 }, 214 { 215 "name": "applicationContext05", 216 "srcEntry": "./ets/test/applicationContext/applicationContext05.ts", 217 "description": "$string:TestAbility_desc", 218 "icon": "$media:icon", 219 "label": "$string:TestAbility_label", 220 "startWindowIcon": "$media:icon", 221 "startWindowBackground": "$color:start_window_background", 222 "launchType": "multiton", 223 "skills": [ 224 { 225 "actions": [ 226 "action.system.home", 227 "ohos.want.action.viewData" 228 ], 229 "entities": [ 230 "entity.system.home", 231 "entity.system.browsable" 232 ], 233 "uris": [ 234 { 235 "scheme": "https", 236 "host": "www.applicationContext05.com" 237 } 238 ] 239 } 240 ] 241 } 242 ], 243 "extensionAbilities": [ 244 ], 245 "requestPermissions": [ 246 { 247 "name": "ohos.permission.INTERNET" 248 }, 249 { 250 "name":"ohos.permission.PRIVACY_WINDOW" 251 }, 252 { 253 "name":"ohos.permission.DISTRIBUTED_DATASYNC" 254 }, 255 ] 256 } 257}