Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Dependencies constraint iris_method_channel with agora_rtc_engine #185

Open
2 of 5 tasks
MirzaUkas opened this issue Nov 11, 2024 · 0 comments
Open
2 of 5 tasks

Dependencies constraint iris_method_channel with agora_rtc_engine #185

MirzaUkas opened this issue Nov 11, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@MirzaUkas
Copy link

Version of the agora_rtm

2.2.2

Platforms affected

  • Android
  • iOS
  • macOS
  • Windows
  • Web

Steps to reproduce

  1. Add agora_rtc_engine: ^6.2.2
  2. Add agora_rtm: ^2.2.2
  3. run flutter pub get

Expected results

I expect the latest version of agora rtm 2.2.2 work seamlessly with agora_rtc_engine

Actual results

failed when flutter pub get and return error below

Because agora_rtc_engine >=6.2.2 <6.2.3 depends on iris_method_channel 1.2.0 and agora_rtc_engine >=6.2.3 <6.2.6 depends on iris_method_channel 2.0.0-dev.3, agora_rtc_engine >=6.2.2 <6.2.6 requires
  iris_method_channel 1.2.0 or 2.0.0-dev.3.
And because agora_rtc_engine >=6.2.6 <6.3.0 depends on iris_method_channel 2.0.0-dev.4 and agora_rtc_engine >=6.3.0 <6.3.1 depends on iris_method_channel 2.0.1, agora_rtc_engine >=6.2.2 <6.3.1 requires
  iris_method_channel 1.2.0 or 2.0.0-dev.3 or 2.0.0-dev.4 or 2.0.1.
And because agora_rtc_engine >=6.3.1 depends on iris_method_channel 2.1.1 and agora_rtm >=2.2.2 depends on iris_method_channel >=2.2.2, agora_rtm >=2.2.2 is incompatible with agora_rtc_engine >=6.2.2.
So, because my_app depends on both agora_rtc_engine ^6.2.2 and agora_rtm ^2.2.2, version solving failed.

Code sample

Code sample
[Paste your code here]

Screenshots or Video

Screenshots / Video demonstration

Logs

Logs
Because agora_rtc_engine >=6.2.2 <6.2.3 depends on iris_method_channel 1.2.0 and agora_rtc_engine >=6.2.3 <6.2.6 depends on iris_method_channel 2.0.0-dev.3, agora_rtc_engine >=6.2.2 <6.2.6 requires
  iris_method_channel 1.2.0 or 2.0.0-dev.3.
And because agora_rtc_engine >=6.2.6 <6.3.0 depends on iris_method_channel 2.0.0-dev.4 and agora_rtc_engine >=6.3.0 <6.3.1 depends on iris_method_channel 2.0.1, agora_rtc_engine >=6.2.2 <6.3.1 requires
  iris_method_channel 1.2.0 or 2.0.0-dev.3 or 2.0.0-dev.4 or 2.0.1.
And because agora_rtc_engine >=6.3.1 depends on iris_method_channel 2.1.1 and agora_rtm >=2.2.2 depends on iris_method_channel >=2.2.2, agora_rtm >=2.2.2 is incompatible with agora_rtc_engine >=6.2.2.
So, because my_app depends on both agora_rtc_engine ^6.2.2 and agora_rtm ^2.2.2, version solving failed.

Flutter Doctor output

Doctor output
[✓] Flutter (Channel stable, 3.24.3, on macOS 14.2.1 23C71 darwin-x64, locale en-ID)
    • Flutter version 3.24.3 on channel stable at /Users/macintosh/Documents/DEV/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 2663184aa7 (9 weeks ago), 2024-09-11 16:27:48 -0500
    • Engine revision 36335019a8
    • Dart version 3.5.3
    • DevTools version 2.37.3

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at {MY_LOCAL_PATH}/Android/sdk
    • Platform android-35, build-tools 34.0.0
    • ANDROID_HOME = {MY_LOCAL_PATH}/Android/sdk
    • Java binary at: {MY_LOCAL_PATH}/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.11+0-17.0.11b1207.24-11852314)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15F31d
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2024.1)
    • Android Studio at /Users/macintosh/Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.11+0-17.0.11b1207.24-11852314)

[✓] VS Code (version 1.93.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.94.0

[✓] Connected device (5 available)
    • 2201117PG (mobile)     • UWTG7X4PEASGXWTW                     • android-arm64  • Android 13 (API 33)
    • iPhone 15 Pro (mobile) • AE093CED-63A7-440F-8D8C-9C997F3045E1 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-17-5 (simulator)
    • macOS (desktop)        • macos                                • darwin-x64     • macOS 14.2.1 23C71 darwin-x64
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 130.0.6723.117

[✓] Network resources
    • All expected network resources are available.
@peilinok peilinok self-assigned this Nov 29, 2024
@peilinok peilinok added the enhancement New feature or request label Nov 29, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants