• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  "app": {
3    "vendor": "samples",
4    "bundleName": "ohos.samples.socket",
5    "version": {
6      "code": 1000000,
7      "name": "1.0.0"
8    }
9  },
10  "deviceConfig": {},
11  "module": {
12    "mainAbility": ".MainAbility",
13    "deviceType": [
14      "default",
15      "tablet"
16    ],
17    "abilities": [
18      {
19        "skills": [
20          {
21            "entities": [
22              "entity.system.home"
23            ],
24            "actions": [
25              "action.system.home"
26            ]
27          }
28        ],
29        "orientation": "unspecified",
30        "visible": true,
31        "srcPath": "MainAbility",
32        "name": ".MainAbility",
33        "srcLanguage": "ets",
34        "icon": "$media:icon",
35        "description": "$string:MainAbility_desc",
36        "formsEnabled": false,
37        "label": "$string:MainAbility_label",
38        "type": "page",
39        "launchType": "singleton"
40      }
41    ],
42    "distro": {
43      "moduleType": "entry",
44      "installationFree": false,
45      "deliveryWithInstall": true,
46      "moduleName": "entry"
47    },
48    "package": "ohos.samples.socket",
49    "srcPath": "",
50    "name": ".entry",
51    "js": [
52      {
53        "mode": {
54          "syntax": "ets",
55          "type": "pageAbility"
56        },
57        "pages": [
58          "pages/Login",
59          "pages/Index"
60        ],
61        "name": ".MainAbility",
62        "window": {
63          "designWidth": 720,
64          "autoDesignWidth": false
65        }
66      }
67    ],
68    "reqPermissions": [
69      {
70        "name": "ohos.permission.INTERNET",
71        "reason": "$string:internet_permission",
72        "usedScene": {
73          "ability": [
74            "ohos.samples.socket.MainAbility"
75          ],
76          "when": "always"
77        }
78      },
79      {
80        "name": "ohos.permission.GET_WIFI_INFO",
81        "reason": "$string:get_wifi_info_permission",
82        "usedScene": {
83          "ability": [
84            "ohos.samples.socket.MainAbility"
85          ],
86          "when": "always"
87        }
88      }
89    ]
90  }
91}