connectivity_control 1.0.0
connectivity_control: ^1.0.0 copied to clipboard
A Flutter plugin to inspect active network interfaces and their internet capability, validation state, metering, and bandwidth.
1.0.0 #
Changed #
- BREAKING:
listenToActiveNetworks()renamed toonActiveNetworksChangedstream getter. - Exported
NetworkInfoandNetworkTypefrom the barrel file — single import gives access to all public types. - Added
topicsandissue_trackerto pubspec for pub.dev discoverability.
Platform Support #
- Android: Full support (API 24+).
- iOS: Full support (iOS 13+).
downLinkKbps/upLinkKbpsunavailable (no iOS API). VPN not reported as a separate type (platform limitation).
0.0.4 #
Added #
- Real-time network change stream (
listenToActiveNetworks) on iOS viaNWPathMonitor. isMeteredfield on iOS, mapped fromNWPath.isExpensive.isValidatedfield on iOS, mapped fromNWPath.status == .satisfied.- Proper resource cleanup on iOS via
detachFromEngine.
Changed #
- Updated README to reflect full iOS platform support.
Platform Support #
- Android: Full implementation (unchanged).
- iOS: Full implementation — both
getActiveNetworksandlistenToActiveNetworksnow supported withisMeteredandisValidatedfields populated.downLinkKbps/upLinkKbpsremain unavailable (no iOS API). VPN not reported as a separate type (platform limitation).
0.0.3 #
0.0.2 #
Added #
- Initial iOS platform support.
- iOS implementation of
getActiveNetworks, enabling retrieval of currently active network interfaces on iOS devices.
Notes #
- This release intentionally exposes only the
getActiveNetworksAPI on iOS.
Platform Support #
- Android: Full implementation using modern
ConnectivityManagerAPIs. - iOS: Partial implementation focused on active network discovery, designed to maintain Dart API consistency and enable future feature parity.
0.0.1 #
Added #
- Detect all active network interfaces (Wi-Fi, cellular, VPN) on the device.
- Real-time stream of active network changes.
- Per-network metadata including:
- Internet capability
- Validation status
- Metered / unmetered state
- Upstream and downstream bandwidth estimates.
Platform Support #
- Android implementation using modern
ConnectivityManagerAPIs. - Flutter API designed for extensibility and future platform parity.