test
dependency.[Breaking Change] The getWifiName
, getWifiBSSID
and getWifiIP
are 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 NSLocationAlwaysAndWhenInUseUsageDescription
and NSLocationWhenInUseUsageDescription
in ios/Runner/Info.plist
If 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();
web
(by endorsing connectivity_for_web
0.3.0)1.0.0
(more details at: https://github.com/flutter/flutter/wiki/Package-migration-to-1.0.0).getFlutterEngine
call on Android.author:
field from pubspec.yamlbuild.gradle
to support apps that has not been migrated to AndroidX.requestLocationServiceAuthorization
to request location authorization on iOS.getLocationServiceAuthorization
to get location authorization status on iOS.check()
.invokeMethod
calls.getApplicationContext()
when accessing the Wifi Service.invokeMethod
calls.Connectivity
to a singleton.