• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  "app": {
3    "bundleName": "com.ohos.observer",
4    "vendor": "open",
5    "version": {
6      "code": 1000000,
7      "name": "1.0.0"
8    },
9    "apiVersion": {
10      "compatible": 7,
11      "releaseType": "Release",
12      "target": 7
13    }
14  },
15  "deviceConfig": {},
16  "module": {
17    "package": "com.ohos.observer",
18    "name": ".MyApplication",
19    "mainAbility": ".MainAbility",
20    "srcPath": "",
21    "deviceType": [
22      "tablet",
23      "default",
24      "phone"
25    ],
26    "distro": {
27      "deliveryWithInstall": true,
28      "moduleName": "entry",
29      "moduleType": "entry",
30      "installationFree": false
31    },
32    "abilities": [
33      {
34        "skills": [
35          {
36            "entities": [
37              "entity.system.home"
38            ],
39            "actions": [
40              "action.system.home"
41            ]
42          }
43        ],
44        "orientation": "unspecified",
45        "visible": true,
46        "srcPath": "MainAbility",
47        "name": ".MainAbility",
48        "srcLanguage": "ets",
49        "icon": "$media:icon",
50        "description": "$string:description_mainability",
51        "formsEnabled": false,
52        "label": "$string:entry_MainAbility",
53        "type": "page",
54        "launchType": "standard"
55      },
56      {
57        "orientation": "unspecified",
58        "visible": true,
59        "srcPath": "TestAbility",
60        "name": ".TestAbility",
61        "srcLanguage": "ets",
62        "icon": "$media:icon",
63        "description": "$string:TestAbility_desc",
64        "formsEnabled": false,
65        "label": "$string:TestAbility_label",
66        "type": "page",
67        "launchType": "standard"
68      }
69    ],
70    "reqPermissions": [
71	    {
72        "name":"ohos.permission.GET_NETWORK_INFO",
73        "reason":"need use ohos.permission.GET_NETWORK_INFO"
74      }
75    ],
76    "js": [
77      {
78        "mode": {
79          "syntax": "ets",
80          "type": "pageAbility"
81        },
82        "pages": [
83          "pages/index",
84          "pages/Button",
85          "pages/Blank",
86          "pages/Divider",
87          "pages/Text",
88          "pages/RowSplit",
89          "pages/Scroll",
90          "pages/Stack",
91          "pages/Progress",
92          "pages/Qrcode",
93          "pages/Rating",
94          "pages/Span",
95          "pages/Badge",
96          "pages/Column",
97          "pages/ColumnSplit",
98          "pages/Counter",
99          "pages/Flex",
100          "pages/GridContainer"
101
102        ],
103        "name": ".MainAbility",
104        "window": {
105          "designWidth": 720,
106          "autoDesignWidth": false
107        }
108      },
109      {
110        "mode": {
111          "syntax": "ets",
112          "type": "pageAbility"
113        },
114        "pages": [
115          "pages/index"
116        ],
117        "name": ".TestAbility",
118        "window": {
119          "designWidth": 720,
120          "autoDesignWidth": false
121        }
122      }
123    ]
124  }
125}