• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  "app": {
3    "bundleName": "ohos.dms.jsDemo",
4    "vendor": "dms",
5    "version": {
6      "code": 1000000,
7      "name": "1.0.0"
8    }
9  },
10  "deviceConfig": {},
11  "module": {
12    "package": "ohos.dms.jsDemo",
13    "name": ".MyApplication",
14    "mainAbility": ".RemoteAbility",
15    "deviceType": [
16      "phone"
17    ],
18    "distro": {
19      "deliveryWithInstall": true,
20      "moduleName": "entry",
21      "moduleType": "entry",
22      "installationFree": false
23    },
24    "abilities": [
25      {
26        "skills": [
27          {
28            "entities": [
29              "entity.system.home"
30            ],
31            "actions": [
32              "action.system.home"
33            ]
34          }
35        ],
36        "orientation": "unspecified",
37        "visible": true,
38        "srcPath": "RemoteAbility",
39        "name": ".RemoteAbility",
40        "srcLanguage": "js",
41        "icon": "$media:icon",
42        "description": "$string:description_remoteability",
43        "formsEnabled": false,
44        "label": "$string:entry_MainAbility",
45        "type": "page",
46        "launchType": "standard"
47      },
48      {
49        "orientation": "unspecified",
50        "visible": true,
51        "srcPath": "LocalAbility",
52        "name": ".LocalAbility",
53        "srcLanguage": "js",
54        "icon": "$media:icon",
55        "description": "$string:description_localability",
56        "formsEnabled": false,
57        "label": "$string:entry_MainAbility",
58        "type": "page",
59        "launchType": "standard"
60      },
61      {
62        "visible": true,
63        "srcPath": "ServiceAbility",
64        "name": ".ServiceAbility",
65        "icon": "$media:icon",
66        "srcLanguage": "js",
67        "description": "$string:description_serviceability",
68        "type": "service"
69      }
70    ],
71    "js": [
72      {
73        "pages": [
74          "pages/index/index"
75        ],
76        "name": ".RemoteAbility",
77        "window": {
78          "designWidth": 720,
79          "autoDesignWidth": false
80        }
81      },
82      {
83        "pages": [
84          "pages/index/index"
85        ],
86        "name": ".LocalAbility",
87        "window": {
88          "designWidth": 720,
89          "autoDesignWidth": false
90        }
91      }
92    ]
93  }
94}