• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  "app": {
3    "bundleName": "com.huawei.camera",
4    "vendor": "huawei",
5    "version": {
6      "code": 2,
7      "name": "2"
8      },
9      "apiVersion": {
10        "compatible": 3,
11        "target": 4
12      }
13    },
14    "deviceConfig": {
15        "default": {
16        }
17    },
18  "module": {
19    "package": "com.huawei.camera",
20    "name": ".MyHarmonyAbilityPackage",
21    "deviceType": [
22      "phone",
23      "tv",
24      "tablet",
25      "pc",
26      "car",
27      "smartWatch",
28      "sportsWatch",
29      "smartVision"
30    ],
31    "distro": {
32      "deliveryWithInstall": true,
33      "moduleName": "cameraApp",
34      "moduleType": "entry"
35    },
36    "abilities": [
37      {
38        "name": "CameraAbility",
39        "icon": "assets/cameraApp/resources/base/media/camera.png",
40        "label": "test app 1",
41        "launchType": "standard",
42        "type": "page",
43        "visible": true
44      }
45    ],
46    "reqPermissions": [
47      {
48        "name": "ohos.permission.CAMERA",
49        "reason": "USER_GRANT",
50        "usedScene": {
51          "ability": [
52            ".FormAbility"
53          ],
54          "when": "inuse"
55        }
56      },
57      {
58        "name": "ohos.permission.MODIFY_AUDIO_SETTINGS",
59        "reason": "SYSTEM_GRANT",
60        "usedScene": {
61          "ability": [
62            ".FormAbility"
63          ],
64          "when": "inuse"
65        }
66      },
67      {
68        "name": "ohos.permission.READ_MEDIA",
69        "reason": "USER_GRANT",
70        "usedScene": {
71          "ability": [
72            ".FormAbility"
73          ],
74          "when": "inuse"
75        }
76      },
77      {
78        "name": "ohos.permission.MICROPHONE",
79        "reason": "USER_GRANT",
80        "usedScene": {
81          "ability": [
82            ".FormAbility"
83          ],
84          "when": "inuse"
85        }
86      },
87      {
88        "name": "ohos.permission.WRITE_MEDIA",
89        "reason": "USER_GRANT",
90        "usedScene": {
91          "ability": [
92            ".FormAbility"
93          ],
94          "when": "inuse"
95        }
96      }
97    ]
98  }
99}
100