Skip to content

livekit_client ^2.6.3 and livekit_components ^1.3.0 require incompatible flutter_webrtc versions #49

Description

@shreyasparbat22

Description

When using the latest livekit_client (^2.6.3) together with the latest livekit_components (^1.3.0) in a Flutter project, flutter pub get fails due to incompatible flutter_webrtc version constraints between the two packages.

The resolver suggests downgrading livekit_client to ^2.6.1, which means the latest releases of livekit_client and livekit_components cannot currently be used together.

pubspec.yaml snippet

dependencies:
flutter:
sdk: flutter

livekit_client: ^2.6.3
livekit_components: ^1.3.0

Error output

flutter pub get --no-example
Resolving dependencies...
Because livekit_components >=1.2.3 depends on flutter_webrtc 1.2.1 and livekit_client 2.6.3 depends on flutter_webrtc 1.3.0, livekit_components >=1.2.3 is incompatible with livekit_client 2.6.3.
And because no versions of livekit_client match >2.6.3 <3.0.0, livekit_components >=1.2.3 is incompatible with livekit_client ^2.6.3.
So, because miya depends on both livekit_client ^2.6.3 and livekit_components ^1.3.0, version solving failed.

You can try the following suggestion to make the pubspec resolve:

  • Consider downgrading your constraint on livekit_client: flutter pub add livekit_client:^2.6.1
    Failed to update packages.
    exit code 1

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions