andrey-ushakov / esc_pos_bluetooth

ESC/POS (thermal, receipt) printing for Flutter & Dart (Android/iOS)
BSD 3-Clause "New" or "Revised" License
249 stars 320 forks source link

Can not add esc_pos_bluetooth: ^0.2.8 to pubspec.yaml #15

Open ThanhPhungTien opened 4 years ago

ThanhPhungTien commented 4 years ago

Because every version of esc_pos_bluetooth depends on rxdart ^0.23.1 and driver depends on rxdart ^0.24.0, esc_pos_bluetooth is forbidden.

So, because driver depends on esc_pos_bluetooth ^0.2.8, version solving failed. pub get failed (1; So, because driver depends on esc_pos_bluetooth ^0.2.8, version solving failed.)

RizaldiWiratama commented 2 years ago

i have same issue when add rxdart dependency

esc_pos_bluetooth >=0.3.0 depends on rxdart ^0.26.0 and my_project depends on rxdart ^0.27.1, esc_pos_bluetooth >=0.3.0 is forbidden

and solve this by overriding the dependencies

dependency_overrides:
  rxdart: ^0.27.1