1{ 2 "app": { 3 "bundleName": "com.ohos.socket", 4 "vendor": "ohos", 5 "version": { 6 "code": 1000000, 7 "name": "1.0.0" 8 }, 9 "apiVersion": { 10 "compatible": 4, 11 "target": 5, 12 "releaseType": "Release" 13 } 14 }, 15 "deviceConfig": {}, 16 "module": { 17 "package": "com.ohos.socket", 18 "name": ".entry", 19 "mainAbility": ".MainAbility", 20 "srcPath":"", 21 "deviceType": [ 22 "tablet", 23 "default", 24 "phone" 25 ], 26 "distro": { 27 "deliveryWithInstall": true, 28 "moduleName": "entry", 29 "moduleType": "entry" 30 }, 31 "abilities": [ 32 { 33 "skills": [ 34 { 35 "entities": [ 36 "entity.system.home" 37 ], 38 "actions": [ 39 "action.system.home" 40 ] 41 } 42 ], 43 "orientation": "unspecified", 44 "formsEnabled": false, 45 "name": ".MainAbility", 46 "srcLanguage": "js", 47 "srcPath": "MainAbility", 48 "icon": "$media:icon", 49 "description": "$string:MainAbility_desc", 50 "label": "$string:MainAbility_label", 51 "type": "page", 52 "visible": true, 53 "launchType": "standard" 54 }, 55 { 56 "orientation": "unspecified", 57 "formsEnabled": false, 58 "name": ".TestAbility", 59 "srcLanguage": "js", 60 "srcPath": "TestAbility", 61 "icon": "$media:icon", 62 "description": "$string:TestAbility_desc", 63 "label": "$string:TestAbility_label", 64 "type": "page", 65 "visible": true, 66 "launchType": "standard" 67 } 68 ], 69 "reqPermissions": [ 70 { 71 "name":"ohos.permission.GET_NETWORK_INFO", 72 "reason":"need use ohos.permission.GET_NETWORK_INFO" 73 }, 74 { 75 "name":"ohos.permission.INTERNET", 76 "reason":"need use ohos.permission.INTERNET" 77 } 78 ], 79 "js": [ 80 { 81 "pages": [ 82 "pages/index/index" 83 ], 84 "name": "default", 85 "window": { 86 "designWidth": 720, 87 "autoDesignWidth": false 88 } 89 }, 90 { 91 "pages": [ 92 "pages/index/index" 93 ], 94 "name": ".TestAbility", 95 "window": { 96 "designWidth": 720, 97 "autoDesignWidth": false 98 } 99 } 100 ], 101 "testRunner": { 102 "name": "OpenHarmonyTestRunner", 103 "srcPath": "TestRunner" 104 } 105 } 106}