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

🐛 Bug Report: Resolving dependencies on device_info_plus #150

Closed
2 tasks done
MrFantuk opened this issue May 27, 2023 · 3 comments
Closed
2 tasks done

🐛 Bug Report: Resolving dependencies on device_info_plus #150

MrFantuk opened this issue May 27, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@MrFantuk
Copy link

MrFantuk commented May 27, 2023

👟 Reproduction steps

When I launching project with pub spec:

appwrite: ^9.0.0
flutter_quill: ^7.2.0

👍 Expected behavior

Upgrade dependencies with latest versions

👎 Actual Behavior

Resolving dependencies...
Because flutter_quill >=7.1.17+1 depends on device_info_plus ^9.0.0 and appwrite 9.0.0 depends on device_info_plus ^8.1.0, flutter_quill >=7.1.17+1 is incompatible with appwrite 9.0.0.
And because no versions of appwrite match >9.0.0 <10.0.0, flutter_quill >=7.1.17+1 is incompatible with appwrite ^9.0.0.
So, because stomhelp depends on both appwrite ^9.0.0 and flutter_quill ^7.2.0, version solving failed.
exit code 1

🎲 Appwrite version

Version 1.3.x

💻 Operating system

MacOS

🧱 Your Environment

No response

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

@MrFantuk MrFantuk added the bug Something isn't working label May 27, 2023
@lohanidamodar
Copy link
Member

@MrFantuk this is simply an issue with dependency conflict. One way to resolve this issue is to add a dependency_overrides as the following

dependency_overrides:
	device_info_plus: 9.0.0

Or another way to use the version of flutter_quill that uses the same version of device_info_plus as appwrite. Or the wait for Appwrite SDK to update with newer version of device_info_plus as we will be publishing updates soon.

Please let us know if this solves your issue, or not.

Thank you

@MrFantuk
Copy link
Author

MrFantuk commented Jun 9, 2023

As a temporary fix, that's work, but it could occur bugs on using overrides. Any way, waiting for updates. Thank you)

@lohanidamodar
Copy link
Member

@MrFantuk the new Appwrite SDK version 9.0.1 should no longer have this issue. Feel free to re-open the issue if you still have problems.

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

2 participants