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