• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  "app": {
3    "bundleName": "com.ohos.permissionmanager",
4    "vendor": "ohos",
5    "version": {
6      "code": 1,
7      "name": "1.0.0"
8    }
9  },
10  "deviceConfig": {},
11  "module": {
12    "package": "com.ohos.permissionmanager",
13    "name": ".MyApplication",
14    "mainAbility": ".MainAbility",
15    "deviceType": [
16      "phone"
17    ],
18    "distro": {
19      "deliveryWithInstall": true,
20      "moduleName": "permissionmanager",
21      "moduleType": "feature",
22      "installationFree": false
23    },
24    "abilities": [
25      {
26        "visible": true,
27        "srcPath": "MainAbility",
28        "name": ".MainAbility",
29        "srcLanguage": "ets",
30        "description": "$string:description_mainability",
31        "label": "$string:permissionmanager_MainAbility",
32        "type": "page",
33        "launchType": "singleton"
34      },
35      {
36        "visible": true,
37        "srcPath": "GrantAbility",
38        "name": ".GrantAbility",
39        "srcLanguage": "ets",
40        "description": "$string:description_grantability",
41        "label": "$string:permissionmanager_GrantAbility",
42        "type": "page",
43        "launchType": "standard"
44      }
45    ],
46    "js": [
47      {
48        "mode": {
49          "syntax": "ets",
50          "type": "pageAbility"
51        },
52        "pages": [
53          "pages/authority-management",
54          "pages/application-secondary",
55          "pages/application-tertiary",
56          "pages/authority-secondary",
57          "pages/authority-tertiary",
58          "pages/authority-tertiary-groups",
59          "pages/other-permissions"
60        ],
61        "name": ".MainAbility",
62        "window": {
63          "designWidth": 720,
64          "autoDesignWidth": false
65        }
66      },
67      {
68        "mode": {
69          "syntax": "ets",
70          "type": "pageAbility"
71        },
72        "pages": [
73          "pages/dialogPlus"
74        ],
75        "name": ".GrantAbility",
76        "window": {
77          "designWidth": 720,
78          "autoDesignWidth": false
79        }
80      }
81    ],
82    "reqPermissions": [
83      {
84        "name": "ohos.permission.GET_SENSITIVE_PERMISSIONS",
85        "reason": "get sensitive permissions"
86      },
87      {
88        "name": "ohos.permission.GRANT_SENSITIVE_PERMISSIONS",
89        "reason": "grant sensitive permissions"
90      },
91      {
92        "name": "ohos.permission.REVOKE_SENSITIVE_PERMISSIONS",
93        "reason": "revoke sensitive permissions"
94      },
95      {
96        "name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED",
97        "reason": "get applicationInfo"
98      },
99      {
100        "name": "ohos.permission.GET_BUNDLE_INFO",
101        "reason": "get applicationInfo"
102      }
103    ]
104  }
105}