Which packages are you using?
stream_chat_flutter
On what platforms did you experience the issue?
iOS, Android
What version are you using?
stream_chat_flutter - 9.23.0
What happened?
The stream_chat_flutter package currently uses outdated constraints for several core transitive dependencies. This creates a version conflict when trying to integrate modern versions of utility packages (like photo_manager, video_player, or file_picker) for other features in my application.
Steps to reproduce
1. Open pubspec.yaml in a Flutter project.
2. Add the latest version of stream_chat_flutter.
3. Add a modern version of a shared dependency (for example, file_picker: ^11.0.2)
4. Run flutter pub get.
The command fails with a version solving failed error because stream_chat_flutter requires an older version of the same package.
Supporting info to reproduce
Environment:
- Flutter Version: 3.41.6
- Dart Version: 3.11.4
- OS: macOS
Relevant log output
Resolving dependencies...
Because stream_chat_flutter 9.23.0 depends on file_picker ^11.0.2 and no versions of stream_chat_flutter match >9.23.0 <10.0.0,
stream_chat_flutter ^9.23.0 requires file_picker ^11.0.2.
So, because locars depends on both file_picker ^10.1.2 and stream_chat_flutter ^9.23.0, version solving failed.
You can try one of the following suggestions to make the pubspec resolve:
* Try upgrading your constraint on file_picker: flutter pub add file_picker:^11.0.2
* Consider downgrading your constraint on stream_chat_flutter: flutter pub add stream_chat_flutter:^9.22.0
Failed to update packages.
Flutter analyze output
No analysis errors, this is a pubspec version solving issue.
Flutter doctor output
[✓] Flutter (Channel stable, 3.41.6, on macOS 15.7.6 24G707 darwin-x64, locale
en-US) [1,733ms]
• Flutter version 3.41.6 on channel stable at /Users/mac/Documents/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision db50e20168 (2 weeks ago), 2026-03-25 16:21:00 -0700
• Engine revision 425cfb54d0
• Dart version 3.11.4
• DevTools version 2.54.2
• Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop,
enable-windows-desktop, enable-android, enable-ios, cli-animations,
enable-native-assets, omit-legacy-version-file, enable-lldb-debugging,
enable-uiscene-migration
[✓] Android toolchain - develop for Android devices (Android SDK version
36.1.0-rc1) [11.6s]
• Android SDK at /Users/mac/Library/Android/sdk
• Emulator version 36.4.9.0 (build_id 14788078) (CL:N/A)
• Platform android-36, build-tools 36.1.0-rc1
• Java binary at:
/Library/Java/JavaVirtualMachines/jdk-20.jdk/Contents/Home/bin/java
This JDK is specified in your Flutter configuration.
To change the current JDK, run: `flutter config --jdk-dir="path/to/jdk"`.
• Java version Java(TM) SE Runtime Environment (build 20.0.2+9-78)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 26.3) [13.9s]
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 17C529
• CocoaPods version 1.16.2
[✓] Chrome - develop for the web [37ms]
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Connected device (4 available) [29.7s]
• iPhone (wireless) (mobile) • 00008101-001A3C5E0151001E • ios
• iOS 26.5 23F5043k
• iPhone Xʀ (mobile) • 914CA963-FB65-4DDA-9088-2967B2B4CD67 • ios
• com.apple.CoreSimulator.SimRuntime.iOS-18-6 (simulator)
• macOS (desktop) • macos •
darwin-x64 • macOS 15.7.6 24G707 darwin-x64
• Chrome (web) • chrome •
web-javascript • Google Chrome 146.0.7680.178
! Error: Browsing on the local area network for iPhone. Ensure the device is
unlocked and attached with a cable or associated with the same local area
network as this Mac.
The device must be opted into Developer Mode to connect wirelessly. (code
-27)
[✓] Network resources [758ms]
• All expected network resources are available.
• No issues found!
Code of Conduct
Which packages are you using?
stream_chat_flutter
On what platforms did you experience the issue?
iOS, Android
What version are you using?
stream_chat_flutter - 9.23.0
What happened?
The stream_chat_flutter package currently uses outdated constraints for several core transitive dependencies. This creates a version conflict when trying to integrate modern versions of utility packages (like photo_manager, video_player, or file_picker) for other features in my application.
Steps to reproduce
Supporting info to reproduce
Environment:
Relevant log output
Flutter analyze output
Flutter doctor output
[✓] Flutter (Channel stable, 3.41.6, on macOS 15.7.6 24G707 darwin-x64, locale en-US) [1,733ms] • Flutter version 3.41.6 on channel stable at /Users/mac/Documents/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision db50e20168 (2 weeks ago), 2026-03-25 16:21:00 -0700 • Engine revision 425cfb54d0 • Dart version 3.11.4 • DevTools version 2.54.2 • Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop, enable-windows-desktop, enable-android, enable-ios, cli-animations, enable-native-assets, omit-legacy-version-file, enable-lldb-debugging, enable-uiscene-migration [✓] Android toolchain - develop for Android devices (Android SDK version 36.1.0-rc1) [11.6s] • Android SDK at /Users/mac/Library/Android/sdk • Emulator version 36.4.9.0 (build_id 14788078) (CL:N/A) • Platform android-36, build-tools 36.1.0-rc1 • Java binary at: /Library/Java/JavaVirtualMachines/jdk-20.jdk/Contents/Home/bin/java This JDK is specified in your Flutter configuration. To change the current JDK, run: `flutter config --jdk-dir="path/to/jdk"`. • Java version Java(TM) SE Runtime Environment (build 20.0.2+9-78) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 26.3) [13.9s] • Xcode at /Applications/Xcode.app/Contents/Developer • Build 17C529 • CocoaPods version 1.16.2 [✓] Chrome - develop for the web [37ms] • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [✓] Connected device (4 available) [29.7s] • iPhone (wireless) (mobile) • 00008101-001A3C5E0151001E • ios • iOS 26.5 23F5043k • iPhone Xʀ (mobile) • 914CA963-FB65-4DDA-9088-2967B2B4CD67 • ios • com.apple.CoreSimulator.SimRuntime.iOS-18-6 (simulator) • macOS (desktop) • macos • darwin-x64 • macOS 15.7.6 24G707 darwin-x64 • Chrome (web) • chrome • web-javascript • Google Chrome 146.0.7680.178 ! Error: Browsing on the local area network for iPhone. Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac. The device must be opted into Developer Mode to connect wirelessly. (code -27) [✓] Network resources [758ms] • All expected network resources are available. • No issues found!Code of Conduct