twitter-api-v2 icon indicating copy to clipboard operation
twitter-api-v2 copied to clipboard

Incompatible with flutter's http: ^1.1.2

Open sannykhan3777 opened this issue 1 year ago • 5 comments

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

sannykhan3777 avatar Dec 21 '23 13:12 sannykhan3777

Thanks for your contribution! :)

github-actions[bot] avatar Dec 21 '23 13:12 github-actions[bot]

What's the status on this one ?

1griffy avatar Feb 20 '24 20:02 1griffy