{ "app": { "bundleName": "com.example.actsfeatureabilitytest", "vendor": "example", "version": { "code": 1000000, "name": "1.0.0" } }, "deviceConfig": {}, "module": { "package": "com.example.actsfeatureabilitytest", "name": ".entry_test", "mainAbility": ".TestAbility", "deviceType": [ "default", "tablet", "2in1", "wearable" ], "distro": { "deliveryWithInstall": true, "moduleName": "entry_test", "moduleType": "feature", "installationFree": false }, "description": "descriptionTest", "defPermissions": [ { "name": "ohos.permission.KEEP_BACKGROUND_RUNNING" } ], "abilities": [ { "skills": [ { "entities": [ "entity.system.home" ], "actions": [ "action.system.home" ] } ], "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", "permissions": [ "ohos.permission.ACCELEROMETER" ], "deviceCapability": [ "SystemCapability.Ability.AbilityBase" ] } ], "reqCapabilities": [ "reqCapabilitiesTest1", "reqCapabilitiesTest2" ], "reqPermissions": [ { "name": "ohos.permission.CAMERA", "reason": "$string:permreason_camera", "usedScene": { "ability": [ "com.mycamera.Ability", "com.mycamera.AbilityBackground" ], "when": "always" } }, { "name": "ohos.permission.ACCELEROMETER", "reason": "need use ohos.permission.ACCELEROMETER" }, { "name": "ohos.permission.KEEP_BACKGROUND_RUNNING" }, { "name": "ohos.permission.START_ABILITIES_FROM_BACKGROUND", "reason": "need use ohos.permission.START_ABILITIES_FROM_BACKGROUND" } ], "js": [ { "pages": [ "pages/index/index" ], "name": ".TestAbility", "window": { "designWidth": 720, "autoDesignWidth": false } } ], "testRunner": { "name": "OpenHarmonyTestRunner", "srcPath": "TestRunner" } } }