• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  "app": {
3    "vendor": "samples",
4    "bundleName": "ohos.samples.contact",
5    "version": {
6      "code": 1000000,
7      "name": "1.0.0"
8    }
9  },
10  "deviceConfig": {},
11  "module": {
12    "mainAbility": "ohos.samples.contact.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:description_mainability",
36        "formsEnabled": false,
37        "label": "$string:entry_MainAbility",
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.contact",
49    "srcPath": "",
50    "name": ".entry",
51    "js": [
52      {
53        "mode": {
54          "syntax": "ets",
55          "type": "pageAbility"
56        },
57        "pages": [
58          "pages/Index",
59          "pages/AddContact",
60          "pages/NameCard",
61          "pages/EditContact",
62          "pages/Setting"
63        ],
64        "name": ".MainAbility",
65        "window": {
66          "designWidth": 720,
67          "autoDesignWidth": false
68        }
69      }
70    ],
71    "reqPermissions": [
72      {
73        "name": "ohos.permission.WRITE_CONTACTS",
74        "reason": "$string:description_mainability",
75        "usedScene": {
76          "ability": [
77            "MainAbility"
78          ],
79          "when": "inuse"
80        }
81      },
82      {
83        "name": "ohos.permission.READ_CONTACTS",
84        "reason": "$string:description_mainability",
85        "usedScene": {
86          "ability": [
87            "MainAbility"
88          ],
89          "when": "inuse"
90        }
91      }
92    ]
93  }
94}