1{ 2 "app": { 3 "bundleName": "com.example.actsfeatureabilitytest", 4 "vendor": "example", 5 "version": { 6 "code": 1000000, 7 "name": "1.0.0" 8 } 9 }, 10 "deviceConfig": {}, 11 "module": { 12 "package": "com.example.actsfeatureabilitytest", 13 "name": ".entry_test", 14 "mainAbility": ".TestAbility", 15 "deviceType": [ 16 "default", 17 "tablet", 18 "2in1", 19 "wearable" 20 ], 21 "distro": { 22 "deliveryWithInstall": true, 23 "moduleName": "entry_test", 24 "moduleType": "feature", 25 "installationFree": false 26 }, 27 "description": "descriptionTest", 28 "defPermissions": [ 29 { 30 "name": "ohos.permission.KEEP_BACKGROUND_RUNNING" 31 } 32 ], 33 "abilities": [ 34 { 35 "skills": [ 36 { 37 "entities": [ 38 "entity.system.home" 39 ], 40 "actions": [ 41 "action.system.home" 42 ] 43 } 44 ], 45 "orientation": "unspecified", 46 "formsEnabled": false, 47 "name": ".TestAbility", 48 "srcLanguage": "js", 49 "srcPath": "TestAbility", 50 "icon": "$media:icon", 51 "description": "$string:TestAbility_desc", 52 "label": "$string:TestAbility_label", 53 "type": "page", 54 "visible": true, 55 "launchType": "singleton", 56 "permissions": [ 57 "ohos.permission.ACCELEROMETER" 58 ], 59 "deviceCapability": [ 60 "SystemCapability.Ability.AbilityBase" 61 ] 62 } 63 ], 64 "reqCapabilities": [ 65 "reqCapabilitiesTest1", 66 "reqCapabilitiesTest2" 67 ], 68 "reqPermissions": [ 69 { 70 "name": "ohos.permission.CAMERA", 71 "reason": "$string:permreason_camera", 72 "usedScene": { 73 "ability": [ 74 "com.mycamera.Ability", 75 "com.mycamera.AbilityBackground" 76 ], 77 "when": "always" 78 } 79 }, 80 { 81 "name": "ohos.permission.ACCELEROMETER", 82 "reason": "need use ohos.permission.ACCELEROMETER" 83 }, 84 { 85 "name": "ohos.permission.KEEP_BACKGROUND_RUNNING" 86 }, 87 { 88 "name": "ohos.permission.START_ABILITIES_FROM_BACKGROUND", 89 "reason": "need use ohos.permission.START_ABILITIES_FROM_BACKGROUND" 90 } 91 ], 92 "js": [ 93 { 94 "pages": [ 95 "pages/index/index" 96 ], 97 "name": ".TestAbility", 98 "window": { 99 "designWidth": 720, 100 "autoDesignWidth": false 101 } 102 } 103 ], 104 "testRunner": { 105 "name": "OpenHarmonyTestRunner", 106 "srcPath": "TestRunner" 107 } 108 } 109}