jnguillerme / mqtt.dart

dart mqtt client
BSD 2-Clause "Simplified" License
51 stars 16 forks source link

make the library dart 2.1 compatible #16

Open robertmuth opened 6 years ago

robertmuth commented 6 years ago

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.

mugambikimathi commented 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.

tje3d commented 5 years ago

Anyone can help with this?

mugambikimathi commented 5 years ago

try using: mqtt_client https://pub.dartlang.org/packages/mqtt_client

tje3d commented 5 years ago

@mugambikimathi its unstable and not production ready.

Edit: websocket is unstable.

tje3d commented 5 years ago

@chenhuawei did this: https://github.com/chenhuawei/mqtt.dart

TheBosZ commented 5 years ago

I used the 2.0 fork from @chenhuawei, fixed a bug and submitted a PR: #18