1{ 2 "app": { 3 "bundleName": "com.example.actsfeatureabilitytest", 4 "vendor": "jstest", 5 "version": { 6 "code": 1, 7 "name": "1.0" 8 }, 9 "apiVersion": { 10 "compatible": 4, 11 "target": 5, 12 "releaseType": "Beta1" 13 } 14 }, 15 "deviceConfig": { 16 "default": {} 17 }, 18 "module": { 19 "package": "com.example.actsfeatureabilitytest", 20 "name": ".MyApplication", 21 "mainAbility": "com.example.actsfeatureabilitytest.MainAbility", 22 "deviceType": [ 23 "default", 24 "tablet", 25 "2in1", 26 "wearable" 27 ], 28 "distro": { 29 "deliveryWithInstall": true, 30 "moduleName": "entry", 31 "moduleType": "entry" 32 }, 33 "abilities": [ 34 { 35 "visible": true, 36 "skills": [ 37 { 38 "entities": [ 39 "entity.system.home", 40 "flag.home.intent.from.system" 41 ], 42 "actions": [ 43 "action.system.home" 44 ] 45 } 46 ], 47 "backgroundModes": [ 48 "dataTransfer" 49 ], 50 "name": "com.example.actsfeatureabilitytest.MainAbility", 51 "srcPath": "MainAbility", 52 "srcLanguage": "js", 53 "icon": "$media:icon", 54 "description": "$string:mainability_description", 55 "label": "$string:app_name", 56 "type": "page", 57 "launchType": "singleton", 58 "permissions": [ 59 "ohos.permission.ACCELEROMETER" 60 ], 61 "deviceCapability": [ 62 "SystemCapability.Ability.AbilityBase" 63 ], 64 "uri": "uriTest" 65 }, 66 { 67 "orientation": "unspecified", 68 "formsEnabled": false, 69 "name": ".TestAbility", 70 "srcLanguage": "js", 71 "srcPath": "TestAbility", 72 "icon": "$media:icon", 73 "description": "$string:TestAbility_desc", 74 "label": "$string:TestAbility_label", 75 "type": "page", 76 "visible": true, 77 "launchType": "singleton", 78 "permissions": [ 79 "ohos.permission.ACCELEROMETER" 80 ], 81 "deviceCapability": [ 82 "SystemCapability.Ability.AbilityBase" 83 ], 84 "uri": "uriTest" 85 } 86 ], 87 "reqCapabilities": [ 88 "reqCapabilitiesTest1", 89 "reqCapabilitiesTest2" 90 ], 91 "description": "descriptionTest", 92 "defPermissions": [ 93 { 94 "name": "ohos.permission.KEEP_BACKGROUND_RUNNING" 95 } 96 ], 97 "reqPermissions": [ 98 { 99 "name": "ohos.permission.CAMERA", 100 "reason": "$string:permreason_camera", 101 "usedScene": { 102 "ability": [ 103 "com.mycamera.Ability", 104 "com.mycamera.AbilityBackground" 105 ], 106 "when": "always" 107 } 108 }, 109 { 110 "name": "ohos.permission.ACCELEROMETER", 111 "reason": "need use ohos.permission.ACCELEROMETER" 112 }, 113 { 114 "name": "ohos.permission.KEEP_BACKGROUND_RUNNING" 115 }, 116 { 117 "name": "ohos.permission.START_ABILITIES_FROM_BACKGROUND", 118 "reason": "need use ohos.permission.START_ABILITIES_FROM_BACKGROUND" 119 } 120 ], 121 "js": [ 122 { 123 "pages": [ 124 "pages/index/index" 125 ], 126 "name": "default", 127 "window": { 128 "designWidth": 720, 129 "autoDesignWidth": false 130 } 131 }, 132 { 133 "pages": [ 134 "pages/index/index" 135 ], 136 "name": ".TestAbility", 137 "window": { 138 "designWidth": 720, 139 "autoDesignWidth": false 140 } 141 } 142 ], 143 "testRunner": { 144 "name": "OpenHarmonyTestRunner", 145 "srcPath": "TestRunner" 146 } 147 } 148}