/network_info_plus_ohos

Flutter plugin for discovering information (e.g. WiFi details) of the network on OpenHarmony.

Primary LanguageDartMIT LicenseMIT

network_info_plus_ohos

pub package GitHub stars GitHub forks GitHub license GitHub issues harmony-candies

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"},
    ],