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