config.json 3.1 KB
Newer Older
K
kirl.liu 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
{
  "app": {
    "bundleName": "com.amsst.actsstserviceabilityclientcasetest",
    "vendor": "amsst",
    "version": {
      "code": 1,
      "name": "1.0"
    },
    "apiVersion": {
      "compatible": 4,
      "target": 5,
      "releaseType": "Beta1"
    }
  },
  "deviceConfig": {},
  "module": {
    "package": "com.amsst.actsstserviceabilityclientcasetest",
C
chengxingzhen 已提交
18 19
    "name": ".entry",
    "mainAbility": "com.amsst.actsstserviceabilityclientcasetest.MainAbility",
K
kirl.liu 已提交
20
    "deviceType": [
C
chengxingzhen 已提交
21
      "default"
K
kirl.liu 已提交
22 23 24 25
    ],
    "distro": {
      "deliveryWithInstall": true,
      "moduleName": "entry",
C
chengxingzhen 已提交
26 27
      "moduleType": "entry",
      "installationFree": true
K
kirl.liu 已提交
28 29 30 31 32 33 34 35 36 37 38 39 40 41
    },
    "abilities": [
      {
        "skills": [
          {
            "entities": [
              "entity.system.home"
            ],
            "actions": [
              "action.system.home"
            ]
          }
        ],
        "name": "com.amsst.actsstserviceabilityclientcasetest.MainAbility",
C
chengxingzhen 已提交
42 43
        "srcLanguage": "js",
        "srcPath": "MainAbility",
K
kirl.liu 已提交
44 45 46 47 48 49
        "icon": "$media:icon",
        "description": "$string:mainability_description",
        "label": "$string:app_name",
        "type": "page",
        "launchType": "standard",
        "visible": true
C
chengxingzhen 已提交
50 51 52 53 54 55 56 57 58 59 60 61 62
      },
      {
          "orientation": "unspecified",
          "formsEnabled": false,
          "name": ".TestAbility",
          "srcLanguage": "js",
          "srcPath": "TestAbility",
          "icon": "$media:icon",
          "description": "$string:TestAbility_desc",
          "label": "$string:TestAbility_label",
          "type": "page",
          "visible": true,
          "launchType": "singleton"
K
kirl.liu 已提交
63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
      }
    ],
    "reqPermissions": [
      {
        "name": "ohos.permission.INSTALL_BUNDLE",
        "reason": "need use ohos.permission.INSTALL_BUNDLE"
      },
      {
        "name":"ohos.permission.GET_BUNDLE_INFO",
        "reason":"need use ohos.permission.GET_BUNDLE_INFO"
      },
      {
        "name":"ohos.permission.GET_BUNDLE_INFO_PRIVILEGED",
        "reason":"need use ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
      },
      {
        "name":"ohos.permission.CHANGE_ABILITY_ENABLED_STATE",
        "reason":"need use ohos.permission.CHANGE_ABILITY_ENABLED_STATE"
      },
      {
        "name":"ohos.permission.REMOVE_CACHE_FILES",
        "reason":"need use ohos.permission.REMOVE_CACHE_FILES"
      },
      {
        "name":"ohos.permission.LISTEN_BUNDLE_CHANGE",
        "reason":"need use ohos.permission.LISTEN_BUNDLE_CHANGE"
      },
      {
        "name":"ohos.permission.MANAGE_LOCAL_ACCOUNTS",
        "reason":"need use ohos.permission.MANAGE_LOCAL_ACCOUNTS"
      }        
    ],
    "js": [
      {
        "pages": [
          "pages/index/index"
        ],
C
chengxingzhen 已提交
100 101 102 103 104 105 106 107 108 109 110
        "name": ".MainAbility",
        "window": {
          "designWidth": 720,
          "autoDesignWidth": false
        }
      },
      {
        "pages": [
          "pages/index/index"
        ],
        "name": ".TestAbility",
K
kirl.liu 已提交
111 112 113 114 115
        "window": {
          "designWidth": 720,
          "autoDesignWidth": false
        }
      }
C
chengxingzhen 已提交
116 117 118 119 120
    ],
    "testRunner": {
        "name": "OpenHarmonyTestRunner",
        "srcPath": "TestRunner"
    }
K
kirl.liu 已提交
121 122
  }
}