You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* master:
[in_app_purchase] Android Code Inspection and Clean up (flutter#3120)
Android Code Inspection and Clean up (flutter#3117)
[in_app_purchase] Fix finishing purchases upon payment cancellation (flutter#3106)
[google_maps_flutter_web] Fix convert.dart issues (flutter#3093)
[multiple] Opt-out tests of null-safety (flutter#3113)
[webview_flutter] add public documentation. (flutter#3114)
in_app_purchase: started supported null as a parameter for the sandbox arguement (flutter#3110)
[connectivity] Android Code Inspection and Clean up (flutter#3051)
[android_intent] Android Code Inspection and Clean up (flutter#3043)
Remove `io.flutter.embedded_views_preview` from README
[google_maps_flutter] Fix headline in the readme (flutter#3100)
[webview_flutter] Add new entrypoint that uses hybrid composition on Android (flutter#3067)
[google_maps_flutter] Out of developers preview, bump to 1.0.0 (flutter#3091)
[url_launcher_web] Move third_party under src. (flutter#3080)
[plugin_platform_interface] Fix homepage in pubspec.yaml (flutter#3088)
[connectivity_for_web] Fix homepage in pubspec.yaml (flutter#3089)
[in_app_purchase] Update typo in example main.dart (flutter#3073)
Copy file name to clipboardExpand all lines: packages/connectivity/connectivity/README.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,6 +59,14 @@ dispose() {
59
59
60
60
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.
61
61
62
+
To successfully get WiFi Name or Wi-Fi BSSID starting with Android O, ensure all of the following conditions are met:
63
+
64
+
* If your app is targeting Android 10 (API level 29) SDK or higher, your app has the ACCESS_FINE_LOCATION permission.
65
+
66
+
* If your app is targeting SDK lower than Android 10 (API level 29), your app has the ACCESS_COARSE_LOCATION or ACCESS_FINE_LOCATION permission.
67
+
68
+
* Location services are enabled on the device (under Settings > Location).
Copy file name to clipboardExpand all lines: packages/connectivity/connectivity/android/src/main/java/io/flutter/plugins/connectivity/Connectivity.java
Copy file name to clipboardExpand all lines: packages/connectivity/connectivity/android/src/main/java/io/flutter/plugins/connectivity/ConnectivityBroadcastReceiver.java
+43-2Lines changed: 43 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,11 @@
9
9
importandroid.content.Intent;
10
10
importandroid.content.IntentFilter;
11
11
importandroid.net.ConnectivityManager;
12
+
importandroid.net.Network;
13
+
importandroid.os.Build;
14
+
importandroid.os.Handler;
15
+
importandroid.os.Looper;
16
+
importandroidx.annotation.RequiresApi;
12
17
importio.flutter.plugin.common.EventChannel;
13
18
14
19
/**
@@ -24,6 +29,8 @@ class ConnectivityBroadcastReceiver extends BroadcastReceiver
Copy file name to clipboardExpand all lines: packages/connectivity/connectivity/android/src/main/java/io/flutter/plugins/connectivity/ConnectivityPlugin.java
0 commit comments