Skip to content

[Bug]: Connectivity Plus won't compile with flutter >=3.3.0 #1960

@xsahil03x

Description

@xsahil03x

Platform

ALL

Plugin

Connectivity Plus

Version

^4.0.0

Flutter SDK

3.3.10

Steps to reproduce

  1. Add connectivity_plus: ^4.0.0 to a brand new app using Flutter 3.3.10.
  2. 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
  • I did a flutter clean
  • I tried running the example project

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions