config.json 2.2 KB
Newer Older
Z
zhangxingxia 已提交
1 2 3
{
  "app": {
    "apiVersion": {
Z
zhangxingxia 已提交
4 5 6 7 8 9 10 11 12 13 14 15 16 17
        "compatible": 6,
        "target": 7
    },
      "vendor": "example",
      "bundleName": "ohos.acts.storage.filemanager",
      "version": {
          "code": 1000000,
          "name": "1.0.0"
      }
  },
  "deviceConfig": {
      "default": {
          "debug": true
      }
Z
zhangxingxia 已提交
18 19
  },
  "module": {
Z
zhangxingxia 已提交
20
      "abilities": [
Z
zhangxingxia 已提交
21
          {
Z
zhangxingxia 已提交
22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
              "iconId": 16777218,
              "skills": [
                  {
                      "entities": [
                          "entity.system.home"
                      ],
                      "actions": [
                          "action.system.home"
                      ]
                  }
              ],
              "visible": true,
              "icon": "$media:icon",
              "name": "ohos.acts.storage.filemanager.MainAbility",
              "description": "$string:mainability_description",
              "label": "$string:app_name",
              "type": "page",
              "homeAbility": true,
              "launchType": "standard"
Z
zhangxingxia 已提交
41
          }
Z
zhangxingxia 已提交
42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
      ],
      "deviceType": [
          "phone",
          "tablet",
          "tv",
          "wearable"
      ],
      "reqPermissions": [
        {
          "name" : "ohos.permission.GRANT_SENSITIVE_PERMISSIONS",
          "reason" : "use ohos.permission.GRANT_SENSITIVE_PERMISSIONS"
        },
        {
          "name" : "ohos.permission.REVOKE_SENSITIVE_PERMISSIONS",
          "reason" : "use ohos.permission.REVOKE_SENSITIVE_PERMISSIONS"
        },
        {
          "name" : "ohos.permission.READ_MEDIA",
          "reason" : "use ohos.permission.READ_MEDIA"
Z
zhangxingxia 已提交
61
        }
Z
zhangxingxia 已提交
62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83
      ],
      "mainAbility": "ohos.acts.storage.filemanager.MainAbility",
      "distro": {
          "moduleType": "entry",
          "installationFree": false,
          "deliveryWithInstall": true,
          "moduleName": "entry"
      },
      "package": "ohos.acts.storage.filemanager",
      "name": ".MyApplication",
      "js": [
          {
              "pages": [
                  "pages/index/index"
              ],
              "name": "default",
              "window": {
                  "designWidth": 720,
                  "autoDesignWidth": true
              }
          }
      ]
Z
zhangxingxia 已提交
84 85
  }
}