Open robertmuth opened 6 years ago
Cant get package on the latest flutter due to the following error:
Because every version of flutter_test from sdk depends on test 1.3.0 and mqtt >=1.1.4 depends on test ^0.12.0, flutter_test from sdk is incompatible with mqtt >=1.1.4. So, because example2 depends on both mqtt ^1.1.4 and flutter_test any from sdk, version solving failed.
Anyone can help with this?
try using: mqtt_client https://pub.dartlang.org/packages/mqtt_client
@mugambikimathi its unstable and not production ready.
Edit: websocket is unstable.
@chenhuawei did this: https://github.com/chenhuawei/mqtt.dart
I used the 2.0 fork from @chenhuawei, fixed a bug and submitted a PR: #18
I am getting this when trying to pub upgrade:
Because mqtt <1.1.4 requires SDK version <2.0.0 and mqtt >=1.1.4 depends on ini >=1.0.0 <=1.1.0, every version of mqtt requires ini >=1.0.0 <=1.1.0. So, because ini >=0.0.5 requires SDK version <2.0.0 and taskamster depends on mqtt any, version solving failed.