• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Copyright 2023 Unionman Technology Co., Ltd.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 *     http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 *
16 */
17{
18  "app": {
19    "bundleName": "com.ohos.myapplication",
20    "vendor": "example",
21    "version": {
22      "code": 1000000,
23      "name": "1.0.0"
24    }
25  },
26  "deviceConfig": {},
27  "module": {
28    "package": "com.example.entry",
29    "name": ".entry",
30    "mainAbility": ".MainAbility",
31    "deviceType": [
32      "default",
33      "tablet"
34    ],
35    "distro": {
36      "deliveryWithInstall": true,
37      "moduleName": "entry",
38      "moduleType": "entry",
39      "installationFree": false
40    },
41    "abilities": [
42      {
43        "skills": [
44          {
45            "entities": [
46              "entity.system.home"
47            ],
48            "actions": [
49              "action.system.home"
50            ]
51          }
52        ],
53        "orientation": "unspecified",
54        "formsEnabled": false,
55        "name": ".MainAbility",
56        "srcLanguage": "ets",
57        "srcPath": "MainAbility",
58        "icon": "$media:icon",
59        "description": "$string:MainAbility_desc",
60        "label": "$string:MainAbility_label",
61        "type": "page",
62        "visible": true,
63        "launchType": "standard"
64      }
65    ],
66    "js": [
67      {
68        "mode": {
69          "syntax": "ets",
70          "type": "pageAbility"
71        },
72        "pages": [
73          "pages/index"
74        ],
75        "name": ".MainAbility",
76        "window": {
77          "designWidth": 720,
78          "autoDesignWidth": false
79        }
80      }
81    ],
82    "reqPermissions": [
83      {
84        "name" : "ohos.permission.INTERNET",
85        "reason": "$string:reason",
86        "usedScene": {
87          "ability": [
88            "MainAbility"
89          ]
90        }
91       }
92    ]
93  }
94}