Skip to content

nubank/flutter-network-capabilities

Repository files navigation

Introduction


This package allows monitoring of Network Capabilities from Android devices.

Features


Right now, the following information are available for build versions greater or equal Build.VERSION_CODES.Q:

  • link_upstream_bandwidth_kbps
  • link_downstream_bandwidth_kbps
  • signal_strength
  • transport_type (wifi or cellular)

For versions older than Build.VERSION_CODES.Q, it also provides the following information:

  • legacy_transport_type (wifi or cellular)
  • legacy_transport_subtype (possible values can be found here)

Usage


 FlutterNetworkCapabilities flutterNetworkCapabilitiesPlugin = FlutterNetworkCapabilities();
 final info = await flutterNetworkCapabilitiesPlugin.getNetworkInfo();
 debugPrint(info);

Contributing


The next step for contributing would be to implement the plugin for iOS as well. You can open a Pull Request and it will be reviewed by one of the mainteiners.

References


About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •