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
{{ message }}
Repository navigation
[Bug]: Connectivity Plus won't compile with flutter >=3.3.0 #1960
Add connectivity_plus: ^4.0.0 to a brand new app using Flutter 3.3.10.
flutter pub get
Code Sample
No response
Logs
Because connectivity_plus >=3.0.0 depends on flutter_web_plugins from sdk which depends on js 0.6.4, connectivity_plus >=3.0.0 requires js 0.6.4.
So, because example depends on connectivity_plus ^4.0.0 which depends on js ^0.6.5, version solving failed.
Flutter Doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.3.10, on macOS 13.4.1 22F82 darwin-x64, locale en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
[✓] Chrome - develop for the web
[✓] IntelliJ IDEA Community Edition (version 2023.1.2)
[✓] IntelliJ IDEA Community Edition (version 2023.1.3)
[✓] VS Code (version 1.79.2)
[✓] Connected device (3 available)
[✓] HTTP Host Availability
Checklist before submitting a bug
I Google'd a solution and I couldn't find it
I searched on StackOverflow for a solution and I couldn't find it
I read the README.md file of the plugin
I'm using the latest version of the plugin
All dependencies are up to date with flutter pub upgrade
@vbuberen you might also want to consider adding ci checks for the packages. This is how we do it in stream_chat. But for a more general approach you can look into this PR in flutter/packages.
Activity
xsahil03x commentedon Jul 11, 2023
Linked PR which updated the
jsdependency.xsahil03x commentedon Jul 26, 2023
@vbuberen can you please take a look?
vbuberen commentedon Jul 28, 2023
Yes, sure. Have a limited availability due to multiple reasons, but will take a look today. Thanks for ping.
xsahil03x commentedon Jul 28, 2023
@vbuberen you might also want to consider adding
cichecks for the packages. This is how we do it in stream_chat. But for a more general approach you can look into this PR influtter/packages.More info here: https://github.com/flutter/flutter/wiki/Contributing-to-Plugins-and-Packages#supported-flutter-versions