Skip to content

This plugin allows Flutter apps to discover network connectivity types that can be used on OpenHarmony.

License

Notifications You must be signed in to change notification settings

HarmonyCandies/connectivity_plus_ohos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

connectivity_plus_ohos

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

This plugin allows Flutter apps to discover network connectivity types that can be used on OpenHarmony.

The OpenHarmony implementation of connectivity_plus.

connectivity_plus 在 OpenHarmony 平台的实现。

使用

dependencies:
  connectivity_plus: 5.0.2
  connectivity_plus_ohos: any

在你的项目的 module.json5 文件中增加以下权限设置。

    requestPermissions: [
      {"name" :  "ohos.permission.INTERNET"},
      {"name" :  "ohos.permission.GET_NETWORK_INFO"},
    ],

About

This plugin allows Flutter apps to discover network connectivity types that can be used on OpenHarmony.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published