Flutter plugin for discovering information (e.g. WiFi details) of the network on OpenHarmony.
The OpenHarmony implementation of network_info_plus
.
network_info_plus
在 OpenHarmony 平台的实现。
dependencies:
network_info_plus: any
network_info_plus_ohos: any
在你的项目的 module.json5
文件中增加以下权限设置。
requestPermissions: [
{"name" : "ohos.permission.INTERNET"},
{"name" : "ohos.permission.GET_WIFI_INFO"},
],