• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  "app": {
3    "bundleName": "com.example.configuration",
4    "vendor": "example",
5    "version": {
6      "code": 1,
7      "name": "1.0"
8    },
9    "apiVersion": {
10      "compatible": 4,
11      "target": 5,
12      "releaseType": "Beta1"
13    }
14  },
15  "deviceConfig": {},
16  "module": {
17    "package": "com.example.configuration",
18    "name": ".entry",
19    "mainAbility": ".MainAbility",
20    "srcPath":"",
21    "deviceType": [
22        "default",
23        "tablet"
24    ],
25    "distro": {
26      "deliveryWithInstall": true,
27      "moduleName": "entry",
28      "moduleType": "entry",
29      "installationFree": true
30    },
31    "abilities": [
32      {
33          "skills": [
34              {
35                  "entities": [
36                      "entity.system.home"
37                  ],
38                  "actions": [
39                      "action.system.home"
40                  ]
41              }
42          ],
43          "orientation": "unspecified",
44          "formsEnabled": false,
45          "name": ".MainAbility",
46          "srcLanguage": "js",
47          "srcPath": "MainAbility",
48          "icon": "$media:icon",
49          "description": "$string:MainAbility_desc",
50          "label": "$string:MainAbility_label",
51          "type": "page",
52          "visible": true,
53          "launchType": "singleton"
54      },
55      {
56          "orientation": "unspecified",
57          "formsEnabled": false,
58          "name": ".TestAbility",
59          "srcLanguage": "js",
60          "srcPath": "TestAbility",
61          "icon": "$media:icon",
62          "description": "$string:TestAbility_desc",
63          "label": "$string:TestAbility_label",
64          "type": "page",
65          "visible": true,
66          "launchType": "singleton"
67      }
68  ],
69    "reqPermissions": [
70      {
71        "name": "ohos.permission.GET_BUNDLE_INFO",
72        "reason": "need use ohos.permission.INSTALL_BUNDLE"
73      }
74    ],
75    "js": [
76      {
77        "pages": [
78          "pages/index/index"
79        ],
80        "name": "default",
81        "window": {
82          "designWidth": 720,
83          "autoDesignWidth": false
84        }
85      },
86      {
87        "pages": [
88          "pages/index/index"
89        ],
90        "name": ".TestAbility",
91        "window": {
92          "designWidth": 720,
93          "autoDesignWidth": false
94        }
95      }
96    ],
97    "testRunner": {
98        "name": "OpenHarmonyTestRunner",
99        "srcPath": "TestRunner"
100    }
101  }
102}