stream-chat-flutter icon indicating copy to clipboard operation
stream-chat-flutter copied to clipboard

Support package_info_plus v2

Open khoafornia opened this issue 3 years ago • 0 comments

Which packages are you using?

stream_chat, stream_chat_flutter

On what platforms did you experience the issue?

iOS

What version are you using?

5.0.1

What happened?

The latest version of stream_chat_flutter is not compatible with package_info_plus v2

Steps to reproduce

1. Add 'package_info_plus: ^2.0.0' to pubspec.yaml
2. Run 'flutter pub get'
3. Observe error

Supporting info to reproduce

No response

Relevant log output

Running "flutter pub get" in APP_NAME...                     
Because no versions of stream_chat_flutter match >5.0.1 <6.0.0 and stream_chat_flutter 5.0.1 depends on dart_vlc ^0.3.0, stream_chat_flutter ^5.0.1 requires dart_vlc ^0.3.0.
And because no versions of dart_vlc match >0.3.0 <0.4.0, stream_chat_flutter ^5.0.1 requires dart_vlc 0.3.0.
And because dart_vlc 0.3.0 depends on dart_vlc_ffi ^0.1.7 which depends on ffi ^1.0.0, stream_chat_flutter ^5.0.1 requires ffi ^1.0.0.
And because package_info_plus >=2.0.0 depends on package_info_plus_windows ^3.0.0 which depends on ffi ^2.0.1, stream_chat_flutter ^5.0.1 is incompatible with package_info_plus >=2.0.0.
So, because APP_NAME depends on both package_info_plus ^2.0.0 and stream_chat_flutter ^5.0.1, version solving failed.
pub get failed (1; So, because APP_NAME depends on both package_info_plus ^2.0.0 and stream_chat_flutter ^5.0.1, version solving failed.)

Flutter analyze output

No response

Flutter doctor output

[✓] Flutter (Channel stable, 3.3.4, on macOS 12.6 21G115 darwin-arm, locale en-US)
    • Flutter version 3.3.4 on channel stable at /Users/khoa/fvm/versions/3.3.1
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision eb6d86ee27 (8 days ago), 2022-10-04 22:31:45 -0700
    • Engine revision c08d7d5efc
    • Dart version 2.18.2
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/khoa/Library/Android/sdk
    • Platform android-33, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14A400
    • CocoaPods version 1.11.3

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

[✓] Android Studio (version 2021.2)
    • Android Studio at /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 11.0.12+0-b1504.28-7817840)

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

[✓] Connected device (3 available)
    • iPhone SE (3rd generation) (mobile) • DEVICE_ID 
• ios            
• com.apple.CoreSimulator.SimRuntime.iOS-16-0 (simulator)
• macOS (desktop)                     
• macos                                
• darwin-arm64   
• macOS 12.6 21G115 darwin-arm
• Chrome (web)                        
• chrome                              
• web-javascript • Google Chrome 106.0.5249.119

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

khoafornia avatar Oct 12 '22 23:10 khoafornia