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{ 17 "module": { 18 "name": "entry", 19 "type": "entry", 20 "description": "$string:module_desc", 21 "mainElement": "EntryAbility", 22 "srcEntry": "./ets/Application/AbilityStage.ts", 23 "deviceTypes": [ 24 "default", 25 "tablet" 26 ], 27 "deliveryWithInstall": true, 28 "installationFree": false, 29 "pages": "$profile:main_pages", 30 "abilities": [ 31 { 32 "name": "EntryAbility", 33 "srcEntry": "./ets/entryability/EntryAbility.ts", 34 "description": "$string:EntryAbility_desc", 35 "icon": "$media:layered_image", 36 "label": "$string:EntryAbility_label", 37 "startWindowIcon": "$media:startIcon", 38 "startWindowBackground": "$color:start_window_background", 39 "launchType": "singleton", 40 "exported": true, 41 "skills": [ 42 { 43 "entities": [ 44 "entity.system.home" 45 ], 46 "actions": [ 47 "action.system.home" 48 ] 49 } 50 ] 51 }, 52 { 53 "name": "MainAbility", 54 "srcEntry": "./ets/mainability/MainAbility.ets", 55 "description": "$string:EntryAbility_desc", 56 "icon": "$media:layered_image", 57 "label": "$string:EntryAbility_label", 58 "startWindowIcon": "$media:startIcon", 59 "startWindowBackground": "$color:start_window_background", 60 "launchType": "singleton", 61 "exported": true, 62 "skills": [ 63 { 64 "entities": [ 65 "entity.system.home" 66 ], 67 "actions": [ 68 "action.system.home" 69 ] 70 } 71 ] 72 }, 73 { 74 "name": "MainAbility1", 75 "srcEntry": "./ets/mainability1/MainAbility1.ets", 76 "description": "$string:MainAbility1_desc", 77 "icon": "$media:layered_image", 78 "label": "$string:MainAbility1_label", 79 "startWindowIcon": "$media:startIcon", 80 "startWindowBackground": "$color:start_window_background", 81 "launchType": "singleton", 82 "exported": true, 83 "skills": [ 84 { 85 "entities": [ 86 "entity.system.home" 87 ], 88 "actions": [ 89 "action.system.home" 90 ] 91 } 92 ] 93 }, 94 { 95 "name": "MainAbility2", 96 "srcEntry": "./ets/mainability2/MainAbility2.ets", 97 "description": "$string:MainAbility2_desc", 98 "icon": "$media:layered_image", 99 "label": "$string:MainAbility2_label", 100 "startWindowIcon": "$media:startIcon", 101 "startWindowBackground": "$color:start_window_background", 102 "launchType": "singleton", 103 "exported": true, 104 "skills": [ 105 { 106 "entities": [ 107 "entity.system.home" 108 ], 109 "actions": [ 110 "action.system.home" 111 ] 112 } 113 ] 114 }, 115 { 116 "name": "MainAbility3", 117 "srcEntry": "./ets/mainability3/MainAbility3.ets", 118 "description": "$string:MainAbility3_desc", 119 "icon": "$media:layered_image", 120 "label": "$string:MainAbility3_label", 121 "startWindowIcon": "$media:startIcon", 122 "startWindowBackground": "$color:start_window_background", 123 "launchType": "singleton", 124 "exported": true, 125 "skills": [ 126 { 127 "entities": [ 128 "entity.system.home" 129 ], 130 "actions": [ 131 "action.system.home" 132 ] 133 } 134 ] 135 }, 136 { 137 "name": "MainAbility4", 138 "srcEntry": "./ets/mainability4/MainAbility4.ets", 139 "description": "$string:MainAbility4_desc", 140 "icon": "$media:layered_image", 141 "label": "$string:MainAbility4_label", 142 "startWindowIcon": "$media:startIcon", 143 "startWindowBackground": "$color:start_window_background", 144 "launchType": "singleton", 145 "exported": true, 146 "skills": [ 147 { 148 "entities": [ 149 "entity.system.home" 150 ], 151 "actions": [ 152 "action.system.home" 153 ] 154 } 155 ] 156 }, 157 { 158 "name": "MainAbility5", 159 "srcEntry": "./ets/mainability5/MainAbility5.ets", 160 "description": "$string:MainAbility5_desc", 161 "icon": "$media:layered_image", 162 "label": "$string:MainAbility5_label", 163 "startWindowIcon": "$media:startIcon", 164 "startWindowBackground": "$color:start_window_background", 165 "launchType": "singleton", 166 "exported": true, 167 "skills": [ 168 { 169 "entities": [ 170 "entity.system.home" 171 ], 172 "actions": [ 173 "action.system.home" 174 ] 175 } 176 ] 177 }, 178 { 179 "name": "MainAbility6", 180 "srcEntry": "./ets/mainability6/MainAbility6.ets", 181 "description": "$string:MainAbility6_desc", 182 "icon": "$media:layered_image", 183 "label": "$string:MainAbility6_label", 184 "startWindowIcon": "$media:startIcon", 185 "startWindowBackground": "$color:start_window_background", 186 "launchType": "singleton", 187 "exported": true, 188 "skills": [ 189 { 190 "entities": [ 191 "entity.system.home" 192 ], 193 "actions": [ 194 "action.system.home" 195 ] 196 } 197 ] 198 }, 199 { 200 "name": "MainAbility7", 201 "srcEntry": "./ets/mainability7/MainAbility7.ets", 202 "description": "$string:MainAbility7_desc", 203 "icon": "$media:layered_image", 204 "label": "$string:MainAbility7_label", 205 "startWindowIcon": "$media:startIcon", 206 "startWindowBackground": "$color:start_window_background", 207 "launchType": "singleton", 208 "exported": true, 209 "skills": [ 210 { 211 "entities": [ 212 "entity.system.home" 213 ], 214 "actions": [ 215 "action.system.home" 216 ] 217 } 218 ] 219 }, 220 { 221 "name": "MainAbility8", 222 "srcEntry": "./ets/mainability8/MainAbility8.ets", 223 "description": "$string:MainAbility8_desc", 224 "icon": "$media:layered_image", 225 "label": "$string:MainAbility8_label", 226 "startWindowIcon": "$media:startIcon", 227 "startWindowBackground": "$color:start_window_background", 228 "launchType": "singleton", 229 "exported": true, 230 "skills": [ 231 { 232 "entities": [ 233 "entity.system.home" 234 ], 235 "actions": [ 236 "action.system.home" 237 ] 238 } 239 ] 240 }, 241 { 242 "name": "MainAbility9", 243 "srcEntry": "./ets/mainability9/MainAbility9.ets", 244 "description": "$string:MainAbility9_desc", 245 "icon": "$media:layered_image", 246 "label": "$string:MainAbility9_label", 247 "startWindowIcon": "$media:startIcon", 248 "startWindowBackground": "$color:start_window_background", 249 "launchType": "singleton", 250 "exported": true, 251 "skills": [ 252 { 253 "entities": [ 254 "entity.system.home" 255 ], 256 "actions": [ 257 "action.system.home" 258 ] 259 } 260 ] 261 }, 262 { 263 "name": "MainAbility10", 264 "srcEntry": "./ets/mainability10/MainAbility10.ets", 265 "description": "$string:MainAbility10_desc", 266 "icon": "$media:layered_image", 267 "label": "$string:MainAbility10_label", 268 "startWindowIcon": "$media:startIcon", 269 "startWindowBackground": "$color:start_window_background", 270 "launchType": "singleton", 271 "exported": true, 272 "skills": [ 273 { 274 "entities": [ 275 "entity.system.home" 276 ], 277 "actions": [ 278 "action.system.home" 279 ] 280 } 281 ] 282 }, 283 { 284 "name": "MainAbility11", 285 "srcEntry": "./ets/mainability11/MainAbility11.ets", 286 "description": "$string:MainAbility11_desc", 287 "icon": "$media:layered_image", 288 "label": "$string:MainAbility11_label", 289 "startWindowIcon": "$media:startIcon", 290 "startWindowBackground": "$color:start_window_background", 291 "launchType": "singleton", 292 "exported": true, 293 "skills": [ 294 { 295 "entities": [ 296 "entity.system.home" 297 ], 298 "actions": [ 299 "action.system.home" 300 ] 301 } 302 ] 303 }, 304 { 305 "name": "MainAbility12", 306 "srcEntry": "./ets/mainability12/MainAbility12.ets", 307 "description": "$string:MainAbility12_desc", 308 "icon": "$media:layered_image", 309 "label": "$string:MainAbility12_label", 310 "startWindowIcon": "$media:startIcon", 311 "startWindowBackground": "$color:start_window_background", 312 "launchType": "singleton", 313 "exported": true, 314 "skills": [ 315 { 316 "entities": [ 317 "entity.system.home" 318 ], 319 "actions": [ 320 "action.system.home" 321 ] 322 } 323 ] 324 }, 325 { 326 "name": "MainAbility13", 327 "srcEntry": "./ets/mainability13/MainAbility13.ets", 328 "description": "$string:MainAbility13_desc", 329 "icon": "$media:layered_image", 330 "label": "$string:MainAbility13_label", 331 "startWindowIcon": "$media:startIcon", 332 "startWindowBackground": "$color:start_window_background", 333 "launchType": "singleton", 334 "exported": true, 335 "skills": [ 336 { 337 "entities": [ 338 "entity.system.home" 339 ], 340 "actions": [ 341 "action.system.home" 342 ] 343 } 344 ] 345 }, 346 { 347 "name": "MainAbility14", 348 "srcEntry": "./ets/mainability14/MainAbility14.ets", 349 "description": "$string:MainAbility14_desc", 350 "icon": "$media:layered_image", 351 "label": "$string:MainAbility14_label", 352 "startWindowIcon": "$media:startIcon", 353 "startWindowBackground": "$color:start_window_background", 354 "launchType": "singleton", 355 "exported": true, 356 "skills": [ 357 { 358 "entities": [ 359 "entity.system.home" 360 ], 361 "actions": [ 362 "action.system.home" 363 ] 364 } 365 ] 366 }, 367 { 368 "name": "MainAbility15", 369 "srcEntry": "./ets/mainability15/MainAbility15.ets", 370 "description": "$string:MainAbility15_desc", 371 "icon": "$media:layered_image", 372 "label": "$string:MainAbility15_label", 373 "startWindowIcon": "$media:startIcon", 374 "startWindowBackground": "$color:start_window_background", 375 "launchType": "singleton", 376 "exported": true, 377 "skills": [ 378 { 379 "entities": [ 380 "entity.system.home" 381 ], 382 "actions": [ 383 "action.system.home" 384 ] 385 } 386 ] 387 }, 388 { 389 "name": "MainAbility16", 390 "srcEntry": "./ets/mainability16/MainAbility16.ets", 391 "description": "$string:MainAbility16_desc", 392 "icon": "$media:layered_image", 393 "label": "$string:MainAbility16_label", 394 "startWindowIcon": "$media:startIcon", 395 "startWindowBackground": "$color:start_window_background", 396 "launchType": "singleton", 397 "exported": true, 398 "skills": [ 399 { 400 "entities": [ 401 "entity.system.home" 402 ], 403 "actions": [ 404 "action.system.home" 405 ] 406 } 407 ] 408 }, 409 { 410 "name": "MainAbility17", 411 "srcEntry": "./ets/mainability17/MainAbility17.ets", 412 "description": "$string:MainAbility17_desc", 413 "icon": "$media:layered_image", 414 "label": "$string:MainAbility17_label", 415 "startWindowIcon": "$media:startIcon", 416 "startWindowBackground": "$color:start_window_background", 417 "launchType": "singleton", 418 "exported": true, 419 "skills": [ 420 { 421 "entities": [ 422 "entity.system.home" 423 ], 424 "actions": [ 425 "action.system.home" 426 ] 427 } 428 ] 429 }, 430 { 431 "name": "MainAbility18", 432 "srcEntry": "./ets/mainability18/MainAbility18.ets", 433 "description": "$string:MainAbility18_desc", 434 "icon": "$media:layered_image", 435 "label": "$string:MainAbility18_label", 436 "startWindowIcon": "$media:startIcon", 437 "startWindowBackground": "$color:start_window_background", 438 "launchType": "standard", 439 "exported": true, 440 "skills": [ 441 { 442 "entities": [ 443 "entity.system.home" 444 ], 445 "actions": [ 446 "action.system.home" 447 ] 448 } 449 ] 450 }, 451 { 452 "name": "MainAbility19", 453 "srcEntry": "./ets/mainability19/MainAbility19.ets", 454 "description": "$string:MainAbility19_desc", 455 "icon": "$media:layered_image", 456 "label": "$string:MainAbility19_label", 457 "startWindowIcon": "$media:startIcon", 458 "startWindowBackground": "$color:start_window_background", 459 "launchType": "singleton", 460 "exported": true, 461 "skills": [ 462 { 463 "entities": [ 464 "entity.system.home" 465 ], 466 "actions": [ 467 "action.system.home" 468 ] 469 } 470 ] 471 }, 472 { 473 "name": "MainAbility14B", 474 "srcEntry": "./ets/mainability14b/MainAbility14B.ets", 475 "description": "$string:MainAbility14B_desc", 476 "icon": "$media:layered_image", 477 "label": "$string:MainAbility14B_label", 478 "startWindowIcon": "$media:startIcon", 479 "startWindowBackground": "$color:start_window_background", 480 "launchType": "singleton", 481 "exported": true, 482 "skills": [ 483 { 484 "entities": [ 485 "entity.system.home" 486 ], 487 "actions": [ 488 "action.system.home" 489 ] 490 } 491 ] 492 }, 493 { 494 "name": "MainAbility20", 495 "srcEntry": "./ets/mainability20/MainAbility20.ets", 496 "description": "$string:MainAbility20_desc", 497 "icon": "$media:layered_image", 498 "label": "$string:MainAbility20_label", 499 "startWindowIcon": "$media:startIcon", 500 "startWindowBackground": "$color:start_window_background", 501 "launchType": "singleton", 502 "exported": true, 503 "skills": [ 504 { 505 "entities": [ 506 "entity.system.home" 507 ], 508 "actions": [ 509 "action.system.home" 510 ] 511 } 512 ] 513 }, 514 { 515 "name": "MainAbility20b", 516 "srcEntry": "./ets/mainability20b/MainAbility20b.ets", 517 "description": "$string:MainAbility20b_desc", 518 "icon": "$media:layered_image", 519 "label": "$string:MainAbility20b_label", 520 "startWindowIcon": "$media:startIcon", 521 "startWindowBackground": "$color:start_window_background", 522 "launchType": "singleton", 523 "exported": true, 524 "skills": [ 525 { 526 "entities": [ 527 "entity.system.home" 528 ], 529 "actions": [ 530 "action.system.home" 531 ] 532 } 533 ] 534 }, 535 { 536 "name": "MainAbility21", 537 "srcEntry": "./ets/mainability21/MainAbility21.ets", 538 "description": "$string:MainAbility21_desc", 539 "icon": "$media:layered_image", 540 "label": "$string:MainAbility21_label", 541 "startWindowIcon": "$media:startIcon", 542 "startWindowBackground": "$color:start_window_background", 543 "launchType": "singleton", 544 "exported": true, 545 "skills": [ 546 { 547 "entities": [ 548 "entity.system.home" 549 ], 550 "actions": [ 551 "action.system.home" 552 ] 553 } 554 ] 555 }, 556 { 557 "name": "MainAbility21b", 558 "srcEntry": "./ets/mainability21b/MainAbility21b.ets", 559 "description": "$string:MainAbility21b_desc", 560 "icon": "$media:layered_image", 561 "label": "$string:MainAbility21b_label", 562 "startWindowIcon": "$media:startIcon", 563 "startWindowBackground": "$color:start_window_background", 564 "launchType": "singleton", 565 "exported": true, 566 "skills": [ 567 { 568 "entities": [ 569 "entity.system.home" 570 ], 571 "actions": [ 572 "action.system.home" 573 ] 574 } 575 ] 576 }, 577 { 578 "name": "MainAbility12b", 579 "srcEntry": "./ets/mainability12b/MainAbility12b.ets", 580 "description": "$string:MainAbility12b_desc", 581 "icon": "$media:layered_image", 582 "label": "$string:MainAbility12b_label", 583 "startWindowIcon": "$media:startIcon", 584 "startWindowBackground": "$color:start_window_background", 585 "launchType": "singleton", 586 "exported": true, 587 "skills": [ 588 { 589 "entities": [ 590 "entity.system.home" 591 ], 592 "actions": [ 593 "action.system.home" 594 ] 595 } 596 ] 597 }, 598 { 599 "name": "MainAbility19b", 600 "srcEntry": "./ets/mainability19b/MainAbility19b.ets", 601 "description": "$string:MainAbility19b_desc", 602 "icon": "$media:layered_image", 603 "label": "$string:MainAbility19b_label", 604 "startWindowIcon": "$media:startIcon", 605 "startWindowBackground": "$color:start_window_background", 606 "launchType": "singleton", 607 "exported": true, 608 "skills": [ 609 { 610 "entities": [ 611 "entity.system.home" 612 ], 613 "actions": [ 614 "action.system.home" 615 ] 616 } 617 ] 618 }, 619 { 620 "name": "MainAbility26", 621 "srcEntry": "./ets/mainability26/MainAbility26.ets", 622 "description": "$string:SystemAppA_5500_desc", 623 "icon": "$media:layered_image", 624 "label": "$string:SystemAppA_5500_label", 625 "launchType": "singleton", 626 "startWindowIcon": "$media:startIcon", 627 "startWindowBackground": "$color:start_window_background", 628 "launchType": "singleton", 629 "exported": true, 630 "skills": [ 631 { 632 "entities": [ 633 "entity.system.home" 634 ], 635 "actions": [ 636 "action.system.home" 637 ] 638 } 639 ] 640 }, 641 { 642 "name": "MainAbility23", 643 "srcEntry": "./ets/mainability23/MainAbility23.ets", 644 "description": "$string:mainability_0200_desc", 645 "icon": "$media:layered_image", 646 "label": "$string:mainability_0200_label", 647 "launchType": "singleton", 648 "startWindowIcon": "$media:startIcon", 649 "startWindowBackground": "$color:start_window_background", 650 "launchType": "singleton", 651 "exported": true, 652 "skills": [ 653 { 654 "entities": [ 655 "entity.system.home" 656 ], 657 "actions": [ 658 "action.system.home" 659 ] 660 } 661 ] 662 }, 663 { 664 "name": "MainAbility22", 665 "srcEntry": "./ets/mainability22/MainAbility22.ets", 666 "description": "$string:MainAbility_1900_desc", 667 "icon": "$media:layered_image", 668 "label": "$string:MainAbility_1900_label", 669 "launchType": "singleton", 670 "startWindowIcon": "$media:startIcon", 671 "startWindowBackground": "$color:start_window_background", 672 "launchType": "singleton", 673 "exported": true, 674 "skills": [ 675 { 676 "entities": [ 677 "entity.system.home" 678 ], 679 "actions": [ 680 "action.system.home" 681 ] 682 } 683 ] 684 }, 685 { 686 "name": "MainAbility25", 687 "srcEntry": "./ets/mainability25/MainAbility25.ets", 688 "description": "$string:MainAbility_4900_desc", 689 "icon": "$media:layered_image", 690 "label": "$string:MainAbility_4900_label", 691 "startWindowIcon": "$media:startIcon", 692 "startWindowBackground": "$color:start_window_background", 693 "exported": true, 694 "skills": [ 695 { 696 "entities": [ 697 "entity.system.home" 698 ], 699 "actions": [ 700 "action.system.home" 701 ] 702 } 703 ] 704 }, 705 { 706 "name": "MainAbility24", 707 "srcEntry": "./ets/mainability24/MainAbility24.ets", 708 "description": "$string:MainAbility_4700_desc", 709 "icon": "$media:layered_image", 710 "label": "$string:MainAbility_4700_label", 711 "launchType": "singleton", 712 "startWindowIcon": "$media:startIcon", 713 "startWindowBackground": "$color:start_window_background", 714 "exported": true, 715 "skills": [ 716 { 717 "entities": [ 718 "entity.system.home" 719 ], 720 "actions": [ 721 "action.system.home" 722 ] 723 } 724 ] 725 }, 726 { 727 "name": "ThirdAbility24", 728 "srcEntry": "./ets/thirdability24/ThirdAbility24.ets", 729 "description": "$string:ThirdAbility_4700_desc", 730 "icon": "$media:layered_image", 731 "label": "$string:ThirdAbility_4700_label", 732 "launchType": "singleton", 733 "startWindowIcon": "$media:startIcon", 734 "startWindowBackground": "$color:start_window_background", 735 "launchType": "singleton", 736 "exported": true, 737 "skills": [ 738 { 739 "entities": [ 740 "entity.system.home" 741 ], 742 "actions": [ 743 "action.system.home" 744 ] 745 } 746 ] 747 } 748 ], 749 "extensionAbilities": [ 750 { 751 "name": "EntryBackupAbility", 752 "srcEntry": "./ets/entrybackupability/EntryBackupAbility.ets", 753 "type": "backup", 754 "exported": false, 755 "metadata": [ 756 { 757 "name": "ohos.extension.backup", 758 "resource": "$profile:backup_config" 759 } 760 ] 761 } 762 ], 763 "requestPermissions": [ 764 { 765 "name": "ohos.permission.START_ABILITIES_FROM_BACKGROUND" 766 }, 767 { 768 "name": "ohos.permission.START_INVISIBLE_ABILITY" 769 }, 770 { 771 "name": "ohos.permission.ABILITY_BACKGROUND_COMMUNICATION" 772 } 773 ] 774 } 775}