-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Repeated Connectivity result - ConnectivityResult.mobile #2142
Comments
Me too. flutter: ConnectivityManager: Connectivity subscription result: ConnectivityResult.wifi |
Same for me. This started to occur with version 5.0.0 |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 15 days |
Anything on this ? |
The callback is called whenever the OS There is also a PR on the works that is changing the way the connectivity values are returned, it would be good if you could test it for your usecase: #2599 |
It is mentioned in the README already that currently plugin doesn't filter values returned by the underlying platform. Check the last sentence here: https://github.com/fluttercommunity/plus_plugins/tree/main/packages/connectivity_plus/connectivity_plus#ios--macos Closing as currently this is how the plugin works. We plan to update the behavior to distinct values, but it will happen a bit later. |
Platform
iOS 16
Plugin
Connectivity Plus
Version
3.0.2
Flutter SDK
3.7.12
Steps to reproduce
Whenever connectivity result change we are logging it
For many users we are getting repeated ConnectivityResult.mobile. Wanted to know what could cause this? Ideally it should be ConnectivityResult.mobile -> ConnectivityResult.none -> ConnectivityResult.mobile.
Code Sample
User cellular network and we get repeated ConnectivityResult.mobile.
Flutter Doctor
Checklist before submitting a bug
flutter pub upgrade
flutter clean
The text was updated successfully, but these errors were encountered: