1{ 2 "app": { 3 "bundleName": "com.example.configuration", 4 "vendor": "example", 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 "module": { 17 "package": "com.example.configuration", 18 "name": ".entry", 19 "mainAbility": ".MainAbility", 20 "srcPath": "", 21 "deviceType": [ 22 "default", 23 "tablet", 24 "2in1", 25 "wearable" 26 ], 27 "distro": { 28 "deliveryWithInstall": true, 29 "moduleName": "entry", 30 "moduleType": "entry", 31 "installationFree": true 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": ".MainAbility", 48 "srcLanguage": "js", 49 "srcPath": "MainAbility", 50 "icon": "$media:icon", 51 "description": "$string:MainAbility_desc", 52 "label": "$string:MainAbility_label", 53 "type": "page", 54 "visible": true, 55 "launchType": "singleton" 56 }, 57 { 58 "orientation": "unspecified", 59 "formsEnabled": false, 60 "name": ".TestAbility", 61 "srcLanguage": "js", 62 "srcPath": "TestAbility", 63 "icon": "$media:icon", 64 "description": "$string:TestAbility_desc", 65 "label": "$string:TestAbility_label", 66 "type": "page", 67 "visible": true, 68 "launchType": "singleton" 69 } 70 ], 71 "reqPermissions": [ 72 { 73 "name": "ohos.permission.GET_BUNDLE_INFO", 74 "reason": "need use ohos.permission.INSTALL_BUNDLE" 75 }, 76 { 77 "name": "ohos.permission.DISTRIBUTED_DATASYNC", 78 "reason": "need use ohos.permission.DISTRIBUTED_DATASYNC" 79 }, 80 { 81 "name": "ohos.permission.GET_DISTRIBUTED_DEVICE_INFO", 82 "reason": "ohos.permission.GET_DISTRIBUTED_DEVICE_INFO" 83 }, 84 { 85 "name": "ohos.permission.ACCESS_SERVICE_DM", 86 "reason": "ohos.permission.ACCESS_SERVICE_DM" 87 } 88 ], 89 "js": [ 90 { 91 "pages": [ 92 "pages/index/index" 93 ], 94 "name": "default", 95 "window": { 96 "designWidth": 720, 97 "autoDesignWidth": false 98 } 99 }, 100 { 101 "pages": [ 102 "pages/index/index" 103 ], 104 "name": ".TestAbility", 105 "window": { 106 "designWidth": 720, 107 "autoDesignWidth": false 108 } 109 } 110 ], 111 "testRunner": { 112 "name": "OpenHarmonyTestRunner", 113 "srcPath": "TestRunner" 114 } 115 } 116}