1/* 2 * Copyright (C) 2024 Huawei Device 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", 18 "type": "entry", 19 "description": "$string:module_desc", 20 "mainElement": "EntryAbility", 21 "deviceTypes": [ 22 "phone", 23 "tablet", 24 "2in1" 25 ], 26 "deliveryWithInstall": true, 27 "installationFree": false, 28 "pages": "$profile:main_pages", 29 "abilities": [ 30 { 31 "name": "EntryAbility", 32 "srcEntry": "./ets/entryability/EntryAbility.ets", 33 "description": "$string:EntryAbility_desc", 34 "icon": "$media:layered_image", 35 "label": "$string:EntryAbility_label", 36 "startWindowIcon": "$media:startIcon", 37 "startWindowBackground": "$color:start_window_background", 38 "exported": true, 39 "skills": [ 40 { 41 "entities": [ 42 "entity.system.home" 43 ], 44 "actions": [ 45 "action.system.home" 46 ] 47 } 48 ] 49 }, 50 { 51 "name": "deeplinkdemo_0100", 52 "srcEntry": "./ets/depplinkdemo_0100/depplinkDemo.ets", 53 "description": "$string:depplinkDemo_desc", 54 "icon": "$media:layered_image", 55 "label": "$string:depplinkDemo_label", 56 "startWindowIcon": "$media:startIcon", 57 "startWindowBackground": "$color:start_window_background", 58 "exported": true, 59 "skills": [ 60 { 61 "actions": [ 62 "-~!@#$ %^&*" 63 ] 64 } 65 ] 66 }, 67 { 68 "name": "depplinkdemo_0200", 69 "srcEntry": "./ets/depplinkdemo_0200/depplinkdemo_0200.ets", 70 "description": "$string:depplinkdemo_0200_desc", 71 "icon": "$media:layered_image", 72 "label": "$string:depplinkdemo_0200_label", 73 "startWindowIcon": "$media:startIcon", 74 "startWindowBackground": "$color:start_window_background", 75 "exported": true, 76 "skills": [ 77 { 78 "entities": ["-~!@#$ %^&*"], 79 "uris": [ 80 { 81 "scheme": "", 82 "linkFeature": "link_0200" 83 } 84 85 ] 86 } 87 ] 88 }, 89 { 90 "name": "depplinkdemo_0300", 91 "srcEntry": "./ets/depplinkdemo_0300/depplinkdemo_0300.ets", 92 "description": "$string:depplinkdemo_0300_desc", 93 "icon": "$media:layered_image", 94 "label": "$string:depplinkdemo_0300_label", 95 "startWindowIcon": "$media:startIcon", 96 "startWindowBackground": "$color:start_window_background", 97 "exported": true, 98 "skills": [ 99 { 100 "entities": [ 101 "abc" 102 ], 103 "actions": [ 104 "abc" 105 ], 106 "uris": [ 107 { 108 "scheme": "-~!@#$ %^&*", 109 "host": "example.com", 110 } 111 ] 112 } 113 ] 114 }, 115 { 116 "name": "depplinkdemo_0400", 117 "srcEntry": "./ets/depplinkdemo_0400/depplinkdemo_0400.ets", 118 "description": "$string:depplinkdemo_0400_desc", 119 "icon": "$media:layered_image", 120 "label": "$string:depplinkdemo_0400_label", 121 "startWindowIcon": "$media:startIcon", 122 "startWindowBackground": "$color:start_window_background", 123 "exported": true, 124 "skills": [ 125 { 126 "entities": [ 127 "abc" 128 ], 129 "actions": [ 130 "abc" 131 ], 132 "uris": [ 133 { 134 "scheme": "ohosclock", 135 "host": "example.com" 136 } 137 ] 138 } 139 ] 140 }, 141 { 142 "name": "depplinkdemo_0500", 143 "srcEntry": "./ets/depplinkdemo_0500/depplinkdemo_0500.ets", 144 "description": "$string:depplinkdemo_0500_desc", 145 "icon": "$media:layered_image", 146 "label": "$string:depplinkdemo_0500_label", 147 "startWindowIcon": "$media:startIcon", 148 "startWindowBackground": "$color:start_window_background", 149 "exported": true, 150 "skills": [ 151 { 152 "uris": [ 153 { 154 "scheme": "https", 155 "host": "-~!@#$ %^&*", 156 "port":"8080", 157 "linkFeature": "link_0500" 158 159 } 160 ] 161 } 162 ] 163 }, 164 { 165 "name": "depplinkdemo_0600", 166 "srcEntry": "./ets/depplinkdemo_0600/depplinkdemo_0600.ets", 167 "description": "$string:depplinkdemo_0600_desc", 168 "icon": "$media:layered_image", 169 "label": "$string:depplinkdemo_0600_label", 170 "startWindowIcon": "$media:startIcon", 171 "startWindowBackground": "$color:start_window_background", 172 "exported": true, 173 "skills": [ 174 { 175 "uris": [ 176 { 177 "scheme": "https", 178 "host": "deeplinkdemo", 179 "port":"-~!@#$ %^&*", 180 "path": "query/teacher", 181 "linkFeature": "link_0600" 182 } 183 ] 184 } 185 ] 186 }, 187 { 188 "name": "depplinkdemo_0700", 189 "srcEntry": "./ets/depplinkdemo_0700/depplinkdemo_0700.ets", 190 "description": "$string:depplinkdemo_0700_desc", 191 "icon": "$media:layered_image", 192 "label": "$string:depplinkdemo_0700_label", 193 "startWindowIcon": "$media:startIcon", 194 "startWindowBackground": "$color:start_window_background", 195 "exported": true, 196 "skills": [ 197 { 198 "entities": [ 199 "abc" 200 ], 201 "actions": [ 202 "abc" 203 ], 204 "uris": [ 205 { 206 "scheme": "https", 207 "host": "deeplinkdemo", 208 "port":"8080", 209 "pathStartWith": "-~!@#$ %^&*", 210 "linkFeature": "link_0700" 211 } 212 ] 213 } 214 ] 215 }, 216 { 217 "name": "depplinkdemo_0800", 218 "srcEntry": "./ets/depplinkdemo_0800/depplinkdemo_0800.ets", 219 "description": "$string:depplinkdemo_0800_desc", 220 "icon": "$media:layered_image", 221 "label": "$string:depplinkdemo_0800_label", 222 "startWindowIcon": "$media:startIcon", 223 "startWindowBackground": "$color:start_window_background", 224 "exported": true, 225 "skills": [ 226 { 227 "uris": [ 228 { 229 "scheme": "https", 230 "host": "deeplinkdemo", 231 "port":"8080", 232 "path": "-~!@#$ %^&*", 233 "linkFeature": "link_0800" 234 } 235 ] 236 } 237 ] 238 }, 239 { 240 "name": "depplinkdemo_0900", 241 "srcEntry": "./ets/depplinkdemo_0900/depplinkdemo_0900.ets", 242 "description": "$string:depplinkdemo_0900_desc", 243 "icon": "$media:layered_image", 244 "label": "$string:depplinkdemo_0900_label", 245 "startWindowIcon": "$media:startIcon", 246 "startWindowBackground": "$color:start_window_background", 247 "exported": true, 248 "skills": [ 249 { 250 "uris": [ 251 { 252 "scheme": "https", 253 "host": "deeplinkdemo", 254 "port":"8080", 255 "pathRegex": "query/.*", 256 "linkFeature": "link_0900" 257 } 258 ] 259 } 260 ] 261 }, 262 { 263 "name": "depplinkdemo_1000", 264 "srcEntry": "./ets/depplinkdemo_1000/depplinkdemo_1000.ets", 265 "description": "$string:depplinkdemo_1000_desc", 266 "icon": "$media:layered_image", 267 "label": "$string:depplinkdemo_1000_label", 268 "startWindowIcon": "$media:startIcon", 269 "startWindowBackground": "$color:start_window_background", 270 "exported": true, 271 "skills": [ 272 { 273 "uris": [ 274 { 275 "scheme": "", 276 "type": "-~!@#$ %^&*", 277 "linkFeature": "link" 278 } 279 280 ] 281 } 282 ] 283 } 284 ], 285 "extensionAbilities": [ 286 { 287 "name": "EntryBackupAbility", 288 "srcEntry": "./ets/entrybackupability/EntryBackupAbility.ets", 289 "type": "backup", 290 "exported": true, 291 "metadata": [ 292 { 293 "name": "ohos.extension.backup", 294 "resource": "$profile:backup_config" 295 } 296 ], 297 } 298 ] 299 } 300}