• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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:icon",
27        "label": "$string:MainAbility_label",
28        "startWindowIcon": "$media:icon",
29        "startWindowBackground": "$color:white",
30        "excludeFromMissions": true
31      },
32      {
33        "name": "SaveAsAbility",
34        "srcEntry": "./ets/SaveAsAbility/SaveAsAbility.ets",
35        "description": "$string:MainAbility_desc",
36        "icon": "$media:icon",
37        "label": "$string:MainAbility_label",
38        "startWindowIcon": "$media:icon",
39        "startWindowBackground": "$color:white"
40      },
41      {
42        "name": "MainAbility",
43        "srcEntry": "./ets/MainAbility/MainAbility.ets",
44        "description": "$string:MainAbility_desc",
45        "icon": "$media:app_icon",
46        "label": "$string:MainAbility_label",
47        "startWindowIcon": "$media:app_icon",
48        "startWindowBackground": "$color:white",
49        "orientation": "auto_rotation_restricted",
50        "exported": true,
51        "removeMissionAfterTerminate": true
52      }
53    ],
54    "extensionAbilities": [
55      {
56        "name": "MainAbilityEx",
57        "icon": "$media:icon",
58        "description": "MainAbilityEx",
59        "type": "sys/commonUI",
60        "exported": true,
61        "srcEntry": "./ets/MainAbility/MainAbilityEx.ets",
62        "metadata": [
63          {
64            "name": "ohos.extension.servicetype",
65            "value": "share"
66          }
67        ]
68      },
69      {
70        "name": "ViewAbility",
71        "srcEntry": "./ets/ViewAbility/ViewAbility.ets",
72        "icon": "$media:icon",
73        "description": "$string:ViewAbility_desc",
74        "type": "service",
75        "exported": true
76      },
77      {
78        "name": "DataAbility",
79        "srcEntry": "./ets/DataAbility/DataAbility.ets",
80        "icon": "$media:icon",
81        "description": "$string:ViewAbility_desc",
82        "type": "service"
83      },
84      {
85        "name": "ServiceExtAbility",
86        "srcEntry": "./ets/serviceExtensionAbility/ServiceExtAbility.ets",
87        "icon": "$media:icon",
88        "description": "service",
89        "type": "service",
90        "exported": false
91      }
92    ],
93    "requestPermissions": [
94      {
95        "name": "ohos.permission.ACCESS_DLP_FILE"
96      },
97      {
98        "name": "ohos.permission.MANAGE_LOCAL_ACCOUNTS"
99      },
100      {
101        "name": "ohos.permission.FILE_ACCESS_MANAGER"
102      },
103      {
104        "name": "ohos.permission.START_ABILITIES_FROM_BACKGROUND"
105      },
106      {
107        "name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
108      },
109      {
110        "name": "ohos.permission.MEDIA_LOCATION"
111      },
112      {
113        "name": "ohos.permission.GET_DOMAIN_ACCOUNTS"
114      }
115    ]
116  }
117}
118