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_NFC_INFO", 100 "reason": "use ohos.permission.GET_NFC_INFO" 101 }, 102 { 103 "name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED", 104 "reason": "use ohos.permission.GET_BUNDLE_INFO_PRIVILEGED" 105 }, 106 { 107 "name": "ohos.permission.LOCATION", 108 "reason": "need use ohos.permission.LOCATION", 109 "usedScene": { 110 "ability": [ 111 "ohos.acts.location.geolocation.function.MainAbility" 112 ], 113 "when": "inuse" 114 } 115 }, 116 { 117 "name": "ohos.permission.ACCESS_LOCATION", 118 "reason": "need use ohos.permission.ACCESS_LOCATION", 119 "usedScene": { 120 "ability": [ 121 "ohos.acts.location.geolocation.function.MainAbility" 122 ], 123 "when": "inuse" 124 } 125 }, 126 { 127 "name": "ohos.permission.LOCATION_IN_BACKGROUND", 128 "reason": "need use ohos.permission.LOCATION_IN_BACKGROUND", 129 "usedScene": { 130 "ability": [ 131 "ohos.acts.location.geolocation.function.MainAbility" 132 ], 133 "when": "inuse" 134 } 135 }, 136 { 137 "name": "ohos.permission.MANAGE_SECURE_SETTINGS", 138 "reason": "need use ohos.permission.MANAGE_SECURE_SETTINGS", 139 "usedScene": { 140 "ability": [ 141 "ohos.acts.location.geolocation.function.MainAbility" 142 ], 143 "when": "inuse" 144 } 145 }, 146 { 147 "name": "ohos.permission.GRANT_SENSITIVE_PERMISSIONS", 148 "reason": "use ohos.permission.GRANT_SENSITIVE_PERMISSIONS" 149 }, 150 { 151 "name": "ohos.permission.REVOKE_SENSITIVE_PERMISSIONS", 152 "reason": "use ohos.permission.REVOKE_SENSITIVE_PERMISSIONS" 153 }, 154 { 155 "name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED" 156 }, 157 { 158 "name": "ohos.permission.GET_BUNDLE_INFO" 159 } 160 ], 161 "srcPath": "" 162 } 163}