• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2    "module": {
3        "name": "phone",
4        "type": "entry",
5        "srcEntrance": "./ets/Application/AbilityStage.ts",
6        "description": "$string:phone_entry_dsc",
7        "mainElement": "MainAbility",
8        "deviceTypes": [
9            "tablet",
10            "default",
11            "phone"
12        ],
13        "deliveryWithInstall": true,
14        "installationFree": false,
15        "uiSyntax": "ets",
16        "pages": "$profile:main_pages",
17        "abilities": [
18            {
19                "name": "com.example.myapplication.MainAbility",
20                "srcEntrance": "./ets/MainAbility/MainAbility.ts",
21                "description": "$string:phone_entry_main",
22                "icon": "$media:icon",
23                "label": "$string:entry_label",
24                "visible": true,
25                "orientation": "portrait",
26                "skills": [
27                    {
28                        "actions": [
29                            "action.system.home"
30                        ],
31                        "entities": [
32                            "entity.system.home"
33                        ]
34                    }
35                ]
36            }
37
38        ],
39        "extensionAbilities": [
40            {
41                "description": "$string:ServiceExtAbility",
42                "icon": "$media:icon",
43                "name": "BackupExtensionAbility",
44                "type": "backup",
45                "visible": true,
46                "metadata": [
47                    {
48                        "name": "ohos.extension.backup",
49                        "resource": "$profile:backup_config"
50                    }
51                ],
52                "srcEntrance": "./ets/common/BackupExtension.ts"
53            }
54        ]
55    }
56}
57