breez / breez-sdk-flutter

Breez SDK flutter plugin
MIT License
3 stars 7 forks source link

fix: upgrade rust bridge because bdk_flutter needs higher #2

Closed sagarsubedi closed 1 year ago

sagarsubedi commented 1 year ago

I use bdk_flutter in my app and when trying to integrate breez, I can't get past the error in the version number. So this needs to be upgraded if users have updated version of bdk_flutter.

Error while versioning _Resolving dependencies... Because every version of breez_sdk from git depends on flutter_rust_bridge 1.75.2 and every version of bdk_flutter from git depends on flutter_rust_bridge >1.77.1 <=1.78.0, breez_sdk from git is incompatible with bdk_flutter from git. So, because coinwallet depends on both bdk_flutter from git and breezsdk from git, version solving failed.

erdemyerebasmaz commented 1 year ago

Hey @sagarsubedi, If you're using the latest bdk_flutter, could you put

flutter_rust_bridge: ">1.77.1 <= 1.80.1"

under

dependency_overrides:

on your pubspec.yaml to see if it resolves the issue?