connectivity
Flutter plugin for discovering the state of the network (WiFi & mobile/cellular) connectivity on Android and iOS.
3.0.6
13K downloads/mo
#2623 most downloaded on pub.dev
flutter/plugins
What this package is like to depend on
Last release 5 years ago
no release in 18 months
Ships fairly regularly
a new release about every 5 weeks
Nearly every release is documented
notes for 52 of 53 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
56 releases · first in 2017
0 releases in the last 12 months
see the full history below
Release timeline
56 releases · Jun 2017 to May 2021Releases
latest 56-
3.0.626 May 2021 -
3.0.419 May 2021 -
3.0.318 Mar 2021 -
3.0.202 Mar 2021 -
3.0.101 Mar 2021 -
3.0.023 Feb 2021Release notes
Open source →- Migrate to null safety.
- Fix outdated links across a number of markdown files (#3276)
- Android: Cleanup the NetworkCallback object when a connectivity stream is cancelled
-
3.0.0-nullsafety.313 Jan 2021 pre-releaseNothing published for this version
-
3.0.0-nullsafety.105 Nov 2020 pre-releaseNothing published for this version
-
3.0.0-nullsafety28 Oct 2020 pre-releaseNothing published for this version
-
2.0.216 Nov 2020 -
2.0.103 Nov 2020 -
2.0.023 Oct 2020Release notes
Open source →-
[Breaking Change] The
getWifiName,getWifiBSSIDandgetWifiIPare removed to wifi_info_flutter -
Migration guide:
If you don't use any of the above APIs, your code should work as is. In addition, you can also remove
NSLocationAlwaysAndWhenInUseUsageDescriptionandNSLocationWhenInUseUsageDescriptioninios/Runner/Info.plistIf you use any of the above APIs, you can find the same APIs in the wifi_info_flutter plugin. For example, to migrate
getWifiName, use the new plugin:final WifiInfo _wifiInfo = WifiInfo(); final String wifiName = await _wifiInfo.getWifiName();
-
-
1.0.022 Oct 2020 -
0.4.901 Jul 2020 -
0.4.9+222 Aug 2020 -
0.4.9+323 Sep 2020 -
0.4.9+514 Oct 2020 -
0.4.820 Feb 2020 -
0.4.8+120 Feb 2020 -
0.4.8+209 Mar 2020 -
0.4.8+506 May 2020Release notes
Open source →- Declare API stability and compatibility with
1.0.0(more details at: https://github.com/flutter/flutter/wiki/Package-migration-to-1.0.0).
- Declare API stability and compatibility with
-
0.4.8+612 May 2020 -
0.4.606 Dec 2019 -
0.4.6+110 Dec 2019Release notes
Open source →- Remove the deprecated
author:field from pubspec.yaml - Migrate the plugin to the pubspec platforms manifest.
- Require Flutter SDK 1.10.0 or greater.
- Remove the deprecated
-
0.4.6+203 Jan 2020Release notes
Open source →- Migrate deprecated BinaryMessages to ServicesBinding.instance.defaultBinaryMessenger.
- Bump Flutter SDK to 1.12.13+hotfix.5 or greater (current stable).
-
0.4.515 Oct 2019 -
0.4.5+118 Oct 2019Release notes
Open source →- Android: Use android.arch.lifecycle instead of androidx.lifecycle:lifecycle in
build.gradleto support apps that has not been migrated to AndroidX.
- Android: Use android.arch.lifecycle instead of androidx.lifecycle:lifecycle in
-
0.4.5+225 Oct 2019Release notes
Open source →- Include lifecycle dependency as a compileOnly one on Android to resolve potential version conflicts with other transitive libraries.
-
0.4.5+309 Nov 2019 -
0.4.5+625 Nov 2019 -
0.4.5+703 Dec 2019 -
0.4.429 Aug 2019Release notes
Open source →- Add
requestLocationServiceAuthorizationto request location authorization on iOS. - Add
getLocationServiceAuthorizationto get location authorization status on iOS. - Update README: add more information on iOS 13 updates with CNCopyCurrentNetworkInfo.
- Add
-
0.4.4+114 Oct 2019 -
0.4.315 Apr 2019 -
0.4.3+119 Apr 2019Release notes
Open source →- Fixes lint error by using
getApplicationContext()when accessing the Wifi Service.
- Fixes lint error by using
-
0.4.3+229 May 2019 -
0.4.3+409 Jul 2019 -
0.4.3+516 Jul 2019Release notes
Open source →- [Android] Added API 29 support for
check(). - [Android] Suppress warnings for using deprecated APIs.
- [Android] Added API 29 support for
-
0.4.3+617 Jul 2019Release notes
Open source →- [Android] Fix the invalid suppression check (it should be "deprecation" not "deprecated").
-
0.4.3+708 Aug 2019Release notes
Open source →- Update README with the updated information about CNCopyCurrentNetworkInfo on iOS 13.
-
0.4.211 Feb 2019 -
0.4.2+102 Apr 2019Release notes
Open source →- Bump the minimum Flutter version to 1.2.0.
- Add template type parameter to
invokeMethodcalls.
-
0.4.2+206 Apr 2019 -
0.4.111 Feb 2019 -
0.4.024 Jan 2019Release notes
Open source →- Breaking change. Migrate from the deprecated original Android Support Library to AndroidX. This shouldn't result in any functional changes, but it requires any Android apps using this plugin to also migrate if they're using the original support library.
-
0.4.0+130 Jan 2019 -
0.4.0+208 Feb 2019Release notes
Open source →- Log a more detailed warning at build time about the previous AndroidX migration.
-
0.3.227 Sep 2018 -
0.3.101 Jun 2018 -
0.3.009 Mar 2018 -
0.2.111 Jan 2018Release notes
Open source →- Fixed warnings from the Dart 2.0 analyzer.
- Simplified and upgraded Android project template to Android SDK 27.
- Updated package description.
-
0.2.020 Dec 2017Release notes
Open source →- Breaking change. Upgraded to Gradle 4.1 and Android Studio Gradle plugin 3.0.1. Older Flutter projects need to upgrade their Gradle setup as well in order to use this version of the plugin. Instructions can be found here.
-
0.1.103 Dec 2017 -
0.1.019 Sep 2017Release notes
Open source →- Breaking API change: Have a Connectivity class instead of a top level function
- Introduce ability to listen for network state changes
-
0.0.112 Jun 2017 -
0.0.1+112 Jun 2017Nothing published for this version