Skip to content

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

Closed

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

Activity

  1. xsahil03x commented on Jul 11, 2023

    @xsahil03x
    Author

    Linked PR which updated the js dependency.

  2. xsahil03x commented on Jul 26, 2023

    @xsahil03x
    Author

    @vbuberen can you please take a look?

  3. vbuberen commented on Jul 28, 2023

    @vbuberen
    Collaborator

    Yes, sure. Have a limited availability due to multiple reasons, but will take a look today. Thanks for ping.

  4. xsahil03x commented on Jul 28, 2023

    @xsahil03x
    Author

    @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.

    More info here: https://github.com/flutter/flutter/wiki/Contributing-to-Plugins-and-Packages#supported-flutter-versions

  5. locked as resolved and limited conversation to collaborators on Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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