config.json 2.5 KB
Newer Older
1 2
{
  "app": {
3 4
    "bundleName": "com.open.harmony.multimedia.cameratest",
    "vendor": "open",
5 6 7
    "version": {
      "code": 1000000,
      "name": "1.0.0"
8 9 10 11 12
    },
    "apiVersion": {
      "compatible": 7,
      "releaseType": "Release",
      "target": 7
13 14 15 16
    }
  },
  "deviceConfig": {},
  "module": {
17
    "package": "com.open.harmony.multimedia.cameratest",
18
    "name": ".MyApplication",
19
    "mainAbility": "com.open.harmony.multimedia.cameratest.MainAbility",
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
    "deviceType": [
      "phone"
    ],
    "distro": {
      "deliveryWithInstall": true,
      "moduleName": "entry",
      "moduleType": "entry",
      "installationFree": false
    },
    "abilities": [
      {
        "skills": [
          {
            "entities": [
              "entity.system.home"
            ],
            "actions": [
              "action.system.home"
            ]
          }
        ],
41
        "orientation": "unspecified",
42
        "visible": true,
43 44 45
        "srcPath": "MainAbility",
        "name": ".MainAbility",
        "srcLanguage": "ets",
46
        "icon": "$media:icon",
47 48
        "description": "$string:description_mainability",
        "formsEnabled": false,
49 50 51 52 53 54 55
        "label": "$string:entry_MainAbility",
        "type": "page",
        "launchType": "standard"
      }
    ],
    "reqPermissions": [
      {
56 57
        "name": "ohos.permission.GRANT_SENSITIVE_PERMISSIONS",
        "reason": "use ohos.permission.GRANT_SENSITIVE_PERMISSIONS"
58 59
      },
      {
60 61
        "name": "ohos.permission.REVOKE_SENSITIVE_PERMISSIONS",
        "reason": "use ohos.permission.REVOKE_SENSITIVE_PERMISSIONS"
62 63
      },
      {
64 65
        "name": "ohos.permission.CAMERA",
        "reason": "use ohos.permission.CAMERA"
66 67
      },
      {
68 69
        "name": "ohos.permission.MICROPHONE",
        "reason": "use ohos.permission.MICROPHONE"
70 71
      },
      {
72 73
        "name": "ohos.permission.MEDIA_LOCATION",
        "reason": "use ohos.permission.MEDIA_LOCATION"
74 75
      },
      {
76 77
        "name": "ohos.permission.READ_MEDIA",
        "reason": "use ohos.permission.READ_MEDIA"
78 79
      },
      {
80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97
        "name": "ohos.permission.WRITE_MEDIA",
        "reason": "use ohos.permission.WRITE_MEDIA"
      }
    ],
    "js": [
      {
        "mode": {
          "syntax": "ets",
          "type": "pageAbility"
        },
        "pages": [
          "pages/index"
        ],
        "name": ".MainAbility",
        "window": {
          "designWidth": 720,
          "autoDesignWidth": false
        }
98 99 100 101
      }
    ]
  }
}