1{ 2 "app": { 3 "bundleName": "ohos.acts.communication.wifi.wifidevice", 4 "vendor": "acts", 5 "version": { 6 "code": 1000000, 7 "name": "1.0.0" 8 } 9 }, 10 "deviceConfig": {}, 11 "module": { 12 "package": "ohos.acts.communication.wifi.wifidevice", 13 "name": ".entry", 14 "mainAbility": ".MainAbility", 15 "deviceType": [ 16 "wearable", 17 "tablet", 18 "default", 19 "phone", 20 "2in1" 21 ], 22 "distro": { 23 "deliveryWithInstall": true, 24 "moduleName": "wifi_standard", 25 "moduleType": "entry", 26 "installationFree": false 27 }, 28 "abilities": [ 29 { 30 "skills": [ 31 { 32 "entities": [ 33 "entity.system.home" 34 ], 35 "actions": [ 36 "action.system.home" 37 ] 38 } 39 ], 40 "orientation": "unspecified", 41 "formsEnabled": false, 42 "name": ".MainAbility", 43 "srcLanguage": "js", 44 "srcPath": "MainAbility", 45 "icon": "$media:icon", 46 "description": "$string:MainAbility_desc", 47 "label": "$string:MainAbility_label", 48 "type": "page", 49 "visible": true, 50 "launchType": "standard" 51 } 52 ], 53 "js": [ 54 { 55 "pages": [ 56 "pages/index/index" 57 ], 58 "name": ".MainAbility", 59 "window": { 60 "designWidth": 720, 61 "autoDesignWidth": false 62 } 63 } 64 ], 65 "defPermissions": [ 66 { 67 "availableScope": [], 68 "grantMode": "user_grant", 69 "name": "ohos.permission.ACCESS_LOCATION", 70 "availableLevel": "system_basic", 71 "provisionEnable": true, 72 "distributedSceneEnable": true, 73 "label": "ACCESS_LOCATION label", 74 "description": "ACCESS_LOCATION description" 75 }, 76 { 77 "availableScope": [], 78 "grantMode": "system_grant", 79 "name": "ohos.permission.MANAGE_SECURE_SETTINGS", 80 "availableLevel": "system_basic", 81 "provisionEnable": true, 82 "distributedSceneEnable": false, 83 "label": "MANAGE_SECURE_SETTINGS label", 84 "description": "MANAGE_SECURE_SETTINGS description" 85 }, 86 { 87 "availableScope": [], 88 "grantMode": "user_grant", 89 "name": "ohos.permission.LOCATION", 90 "availableLevel": "system_basic", 91 "provisionEnable": true, 92 "distributedSceneEnable": true, 93 "label": "LOCATION label", 94 "description": "LOCATION description" 95 } 96 ], 97 "reqPermissions": [ 98 { 99 "name": "ohos.permission.GET_WIFI_INFO", 100 "reason": "use ohos.permission.GET_WIFI_INFO" 101 }, 102 { 103 "name": "ohos.permission.SET_WIFI_INFO", 104 "reason": "use ohos.permission.SET_WIFI_INFO" 105 }, 106 { 107 "name": "ohos.permission.MANAGE_WIFI_CONNECTION", 108 "reason": "use ohos.permission.MANAGE_WIFI_CONNECTION" 109 }, 110 { 111 "name": "ohos.permission.SET_WIFI_CONFIG", 112 "reason": "use ohos.permission.SET_WIFI_CONFIG" 113 }, 114 { 115 "name": "ohos.permission.GET_WIFI_CONFIG", 116 "reason": "use ohos.permission.GET_WIFI_CONFIG" 117 }, 118 { 119 "name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED", 120 "reason": "use ohos.permission.GET_BUNDLE_INFO_PRIVILEGED" 121 }, 122 { 123 "name": "ohos.permission.GET_WIFI_LOCAL_MAC", 124 "reason": "use ohos.permission.GET_WIFI_LOCAL_MAC" 125 }, 126 { 127 "name": "ohos.permission.GET_WIFI_PEERS_MAC", 128 "reason": "use ohos.permission.GET_WIFI_PEERS_MAC" 129 }, 130 { 131 "name": "ohos.permission.MANAGE_WIFI_HOTSPOT", 132 "reason": "use ohos.permission.MANAGE_WIFI_HOTSPOT" 133 }, 134 { 135 "name": "ohos.permission.GET_WIFI_INFO_INTERNAL", 136 "reason": "use ohos.permission.GET_WIFI_INFO_INTERNAL" 137 }, 138 { 139 "name": "ohos.permission.LOCATION", 140 "reason": "need use ohos.permission.LOCATION", 141 "usedScene": { 142 "ability": [ 143 "ohos.acts.location.geolocation.function.MainAbility" 144 ], 145 "when": "inuse" 146 } 147 }, 148 { 149 "name": "ohos.permission.ACCESS_LOCATION", 150 "reason": "need use ohos.permission.ACCESS_LOCATION", 151 "usedScene": { 152 "ability": [ 153 "ohos.acts.location.geolocation.function.MainAbility" 154 ], 155 "when": "inuse" 156 } 157 }, 158 { 159 "name": "ohos.permission.LOCATION_IN_BACKGROUND", 160 "reason": "need use ohos.permission.LOCATION_IN_BACKGROUND", 161 "usedScene": { 162 "ability": [ 163 "ohos.acts.location.geolocation.function.MainAbility" 164 ], 165 "when": "inuse" 166 } 167 }, 168 { 169 "name": "ohos.permission.MANAGE_SECURE_SETTINGS", 170 "reason": "need use ohos.permission.MANAGE_SECURE_SETTINGS", 171 "usedScene": { 172 "ability": [ 173 "ohos.acts.location.geolocation.function.MainAbility" 174 ], 175 "when": "inuse" 176 } 177 }, 178 { 179 "name": "ohos.permission.GRANT_SENSITIVE_PERMISSIONS", 180 "reason": "use ohos.permission.GRANT_SENSITIVE_PERMISSIONS" 181 }, 182 { 183 "name": "ohos.permission.REVOKE_SENSITIVE_PERMISSIONS", 184 "reason": "use ohos.permission.REVOKE_SENSITIVE_PERMISSIONS" 185 }, 186 { 187 "name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED" 188 }, 189 { 190 "name": "ohos.permission.GET_BUNDLE_INFO" 191 } 192 ], 193 "srcPath": "" 194 } 195}