diff --git a/communication/wifi_hotspot/signature/openharmony_sx.p7b b/communication/wifi_hotspot/signature/openharmony_sx.p7b old mode 100644 new mode 100755 index 9be1e98fa4c0c28ca997ed660112fa16b194f0f5..66b4457a8a81fb8d3356cf46d67226c850944858 Binary files a/communication/wifi_hotspot/signature/openharmony_sx.p7b and b/communication/wifi_hotspot/signature/openharmony_sx.p7b differ diff --git a/communication/wifi_hotspot/src/main/config.json b/communication/wifi_hotspot/src/main/config.json index da83908d60d69a76dd08d78b600677474fe93388..01796c829e3e2036ccc09f6c3003d71c70822871 100755 --- a/communication/wifi_hotspot/src/main/config.json +++ b/communication/wifi_hotspot/src/main/config.json @@ -15,12 +15,13 @@ "module": { "package": "ohos.acts.communication.wifi.wifidevice", "name": ".MyApplication", + "mainAbility": "ohos.acts.communication.wifi.wifidevice.MainAbility", "deviceType": [ "phone" ], "distro": { "deliveryWithInstall": true, - "moduleName": "entry", + "moduleName": "wifi_standard", "moduleType": "entry" }, "abilities": [ @@ -55,6 +56,44 @@ "autoDesignWidth": false } } + ], + "reqPermissions": [ + { + "name" : "ohos.permission.GET_WIFI_INFO", + "reason" : "use ohos.permission.GET_WIFI_INFO" + }, + { + "name" : "ohos.permission.SET_WIFI_INFO", + "reason" : "use ohos.permission.SET_WIFI_INFO" + }, + { + "name" : "ohos.permission.MANAGE_WIFI_CONNECTION", + "reason" : "use ohos.permission.MANAGE_WIFI_CONNECTION" + }, + { + "name" : "ohos.permission.SET_WIFI_CONFIG", + "reason" : "use ohos.permission.SET_WIFI_CONFIG" + }, + { + "name" : "ohos.permission.GET_WIFI_CONFIG", + "reason" : "use ohos.permission.GET_WIFI_CONFIG" + }, + { + "name" : "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED", + "reason" : "use ohos.permission.GET_BUNDLE_INFO_PRIVILEGED" + }, + { + "name" : "ohos.permission.GET_WIFI_LOCAL_MAC", + "reason" : "use ohos.permission.GET_WIFI_LOCAL_MAC" + }, + { + "name" : "ohos.permission.MANAGE_WIFI_HOTSPOT", + "reason" : "use ohos.permission.MANAGE_WIFI_HOTSPOT" + }, + { + "name" : "ohos.permission.GET_WIFI_INFO_INTERNAL", + "reason" : "use ohos.permission.GET_WIFI_INFO_INTERNAL" + } ] } } diff --git a/communication/wifi_p2p/signature/openharmony_sx.p7b b/communication/wifi_p2p/signature/openharmony_sx.p7b old mode 100644 new mode 100755 index 9be1e98fa4c0c28ca997ed660112fa16b194f0f5..66b4457a8a81fb8d3356cf46d67226c850944858 Binary files a/communication/wifi_p2p/signature/openharmony_sx.p7b and b/communication/wifi_p2p/signature/openharmony_sx.p7b differ diff --git a/communication/wifi_p2p/src/main/config.json b/communication/wifi_p2p/src/main/config.json index da83908d60d69a76dd08d78b600677474fe93388..01796c829e3e2036ccc09f6c3003d71c70822871 100755 --- a/communication/wifi_p2p/src/main/config.json +++ b/communication/wifi_p2p/src/main/config.json @@ -15,12 +15,13 @@ "module": { "package": "ohos.acts.communication.wifi.wifidevice", "name": ".MyApplication", + "mainAbility": "ohos.acts.communication.wifi.wifidevice.MainAbility", "deviceType": [ "phone" ], "distro": { "deliveryWithInstall": true, - "moduleName": "entry", + "moduleName": "wifi_standard", "moduleType": "entry" }, "abilities": [ @@ -55,6 +56,44 @@ "autoDesignWidth": false } } + ], + "reqPermissions": [ + { + "name" : "ohos.permission.GET_WIFI_INFO", + "reason" : "use ohos.permission.GET_WIFI_INFO" + }, + { + "name" : "ohos.permission.SET_WIFI_INFO", + "reason" : "use ohos.permission.SET_WIFI_INFO" + }, + { + "name" : "ohos.permission.MANAGE_WIFI_CONNECTION", + "reason" : "use ohos.permission.MANAGE_WIFI_CONNECTION" + }, + { + "name" : "ohos.permission.SET_WIFI_CONFIG", + "reason" : "use ohos.permission.SET_WIFI_CONFIG" + }, + { + "name" : "ohos.permission.GET_WIFI_CONFIG", + "reason" : "use ohos.permission.GET_WIFI_CONFIG" + }, + { + "name" : "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED", + "reason" : "use ohos.permission.GET_BUNDLE_INFO_PRIVILEGED" + }, + { + "name" : "ohos.permission.GET_WIFI_LOCAL_MAC", + "reason" : "use ohos.permission.GET_WIFI_LOCAL_MAC" + }, + { + "name" : "ohos.permission.MANAGE_WIFI_HOTSPOT", + "reason" : "use ohos.permission.MANAGE_WIFI_HOTSPOT" + }, + { + "name" : "ohos.permission.GET_WIFI_INFO_INTERNAL", + "reason" : "use ohos.permission.GET_WIFI_INFO_INTERNAL" + } ] } } diff --git a/communication/wifi_standard/signature/openharmony_sx.p7b b/communication/wifi_standard/signature/openharmony_sx.p7b old mode 100644 new mode 100755 index 9be1e98fa4c0c28ca997ed660112fa16b194f0f5..66b4457a8a81fb8d3356cf46d67226c850944858 Binary files a/communication/wifi_standard/signature/openharmony_sx.p7b and b/communication/wifi_standard/signature/openharmony_sx.p7b differ diff --git a/communication/wifi_standard/src/main/config.json b/communication/wifi_standard/src/main/config.json index da83908d60d69a76dd08d78b600677474fe93388..01796c829e3e2036ccc09f6c3003d71c70822871 100755 --- a/communication/wifi_standard/src/main/config.json +++ b/communication/wifi_standard/src/main/config.json @@ -15,12 +15,13 @@ "module": { "package": "ohos.acts.communication.wifi.wifidevice", "name": ".MyApplication", + "mainAbility": "ohos.acts.communication.wifi.wifidevice.MainAbility", "deviceType": [ "phone" ], "distro": { "deliveryWithInstall": true, - "moduleName": "entry", + "moduleName": "wifi_standard", "moduleType": "entry" }, "abilities": [ @@ -55,6 +56,44 @@ "autoDesignWidth": false } } + ], + "reqPermissions": [ + { + "name" : "ohos.permission.GET_WIFI_INFO", + "reason" : "use ohos.permission.GET_WIFI_INFO" + }, + { + "name" : "ohos.permission.SET_WIFI_INFO", + "reason" : "use ohos.permission.SET_WIFI_INFO" + }, + { + "name" : "ohos.permission.MANAGE_WIFI_CONNECTION", + "reason" : "use ohos.permission.MANAGE_WIFI_CONNECTION" + }, + { + "name" : "ohos.permission.SET_WIFI_CONFIG", + "reason" : "use ohos.permission.SET_WIFI_CONFIG" + }, + { + "name" : "ohos.permission.GET_WIFI_CONFIG", + "reason" : "use ohos.permission.GET_WIFI_CONFIG" + }, + { + "name" : "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED", + "reason" : "use ohos.permission.GET_BUNDLE_INFO_PRIVILEGED" + }, + { + "name" : "ohos.permission.GET_WIFI_LOCAL_MAC", + "reason" : "use ohos.permission.GET_WIFI_LOCAL_MAC" + }, + { + "name" : "ohos.permission.MANAGE_WIFI_HOTSPOT", + "reason" : "use ohos.permission.MANAGE_WIFI_HOTSPOT" + }, + { + "name" : "ohos.permission.GET_WIFI_INFO_INTERNAL", + "reason" : "use ohos.permission.GET_WIFI_INFO_INTERNAL" + } ] } }