twitter-dart / twitter-api-v2

The most famous and powerful Dart/Flutter library for Twitter API v2.0 🐦
https://pub.dev/packages/twitter_api_v2
BSD 3-Clause "New" or "Revised" License
167 stars 45 forks source link

Incompatible with flutter's http: ^1.1.2 #672

Open sannykhan3777 opened 9 months ago

sannykhan3777 commented 9 months ago

1. Current bug behavior

Screenshot 2023-12-21 at 3 56 57 PM Because twitter_api_v2 >=4.7.0 depends on http ^0.13.5 and oplus_flutter depends on http ^1.1.2, twitter_api_v2 >=4.7.0 is forbidden. So, because oplus_flutter depends on twitter_api_v2 ^4.9.4, version solving failed.

2. Expected behavior

Should be added as a dependency and should work with flutter http: ^1.1.2 package

3. Steps to reproduce

1) Add http: ^1.1.2 from https://pub.dev/packages/http in pubspec.yaml under dependencies Screenshot 2023-12-21 at 3 59 52 PM

2) Add twitter_api_v2: ^4.9.4 from https://pub.dev/packages/http in pubspec.yaml under dependencies Screenshot 2023-12-21 at 4 01 29 PM

4. Flutter doctor output

Output of: flutter doctor 
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.16.3, on macOS 14.0 23A344 darwin-arm64, locale
    en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.0)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.3)
[✓] Connected device (4 available)
[✓] Network resources

• No issues found!

5. More environment information

twitter_api_v2: ^4.9.4

6. Log information

For this we don't need to require any log information

7. More information

No more information is required please follow steps to reproduce

github-actions[bot] commented 9 months ago

Thanks for your contribution! :)

1griffy commented 7 months ago

What's the status on this one ?

csarigumba commented 4 months ago

Is there a plan to fix this? faccing the same issue.