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
Please provide more information in your reports, what device and browser you run the app. You can also debug a bit the plugin and see what the web implementation of the plugin is doing, that would help as well.
Hi @mishraaditya595
I have implemented connectivity_plus in my Flutter Web project, and it correctly detects internet connectivity status as true or false. I have tested this functionality on Google Chrome and it's working as expected.
My setup details:
connectivity_plus: ^6.1.2
Flutter: 3.27.1
Dart: 3.6.0
Browser: Chrome
OS: macOS 15.1.1 (darwin-arm64)
I ran flutter doctor and encountered no issues related to Flutter Web.
If you're still facing issues, you might want to check:
Browser Compatibility: Have you tested on different browsers?
CORS or Firewall Restrictions: Some network policies might block connectivity checks.
Debug Console: Any errors or warnings related to network requests?
Try a Different Approach: Consider using dart:html for network checks as an alternative.
Let me know if you need any more details. Hope this helps! 🚀
Platform
Flutter web
Plugin
connectivity_plus
Version
6.1.2
Flutter SDK
3.27.2
Steps to reproduce
Launched a web server in debug mode,
Tried accessing the internet connection status, it returns, ConnectivityResult.none
Code Sample
Logs
Flutter Doctor
Checklist before submitting a bug
flutter pub upgrade
flutter clean
The text was updated successfully, but these errors were encountered: