Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Incompatible with flutter's http: ^1.1.2 #672

Open
sannykhan3777 opened this issue Dec 21, 2023 · 3 comments
Open

Incompatible with flutter's http: ^1.1.2 #672

sannykhan3777 opened this issue Dec 21, 2023 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@sannykhan3777
Copy link

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 sannykhan3777 added the bug Something isn't working label Dec 21, 2023
Copy link

Thanks for your contribution! :)

@1griffy
Copy link

1griffy commented Feb 20, 2024

What's the status on this one ?

@csarigumba
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants