Skip to content

Commit 3d45c01

Browse files
authored
Update documentation for connectivity (flutter#2328)
1 parent 1f8c804 commit 3d45c01

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

packages/connectivity/CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.4.5+8
2+
3+
* Update documentation to explain when connectivity updates are received on Android.
4+
15
## 0.4.5+7
26

37
* Fix unawaited futures in the example app and tests.

packages/connectivity/README.md

+2
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ dispose() {
5050
}
5151
```
5252

53+
Note that connectivity changes are no longer communicated to Android apps in the background starting with Android O. *You should always check for connectivity status when your app is resumed.* The broadcast is only useful when your application is in the foreground.
54+
5355
You can get wi-fi related information using:
5456

5557
```dart

packages/connectivity/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: Flutter plugin for discovering the state of the network (WiFi &
33
mobile/cellular) connectivity on Android and iOS.
44
author: Flutter Team <[email protected]>
55
homepage: https://github.com/flutter/plugins/tree/master/packages/connectivity
6-
version: 0.4.5+7
6+
version: 0.4.5+8
77

88
flutter:
99
plugin:

0 commit comments

Comments
 (0)