PhilipsHue / flutter_reactive_ble

Flutter library that handles BLE operations for multiple devices.
https://developers.meethue.com/
Other
661 stars 321 forks source link

protobuf ^3.1.0 support #836

Open nissaba opened 7 months ago

nissaba commented 7 months ago

My project was started suing this lib, and also needs to use mcumgr_flutter.

But I needed to update mcumgr_flutter and other libs because Apple as set the minimum target at iOS 12. This cause the project to break because reactive_ble_mobile depends on protobuf ^2.0.0 and mcumgr_flutter >=0.2.0+1 and so mcumgr_flutter >=0.2.0+1 is incompatible with flutter_reactive_ble >=5.0.3, and because MyProject depends on both flutter_reactive_ble ^5.0.3 and mcumgr_flutter ^0.3.0+1, version solving failed

nissaba commented 6 months ago

ping!

keithle888 commented 4 months ago

This would be useful for me too as protobuf well known types requires protobuf 3.x. I haven't yet come across another way of solving using custom protobuf messaging while importing well-known types in the .proto schema.

nissaba commented 3 months ago

This would be useful for me too as protobuf well known types requires protobuf 3.x. I haven't yet come across another way of solving using custom protobuf messaging while importing well-known types in the .proto schema.

I solved the problem by using Flutter_bleu_plus

paulVulog commented 3 months ago

Any plan to update this lib ? At least the Protobuf dependency prevent us to update the other dependency in our projects.

rohansingh commented 2 months ago

We've been running successfully for quite a while with this workaround:

dependency_overrides:
  protobuf: 3.1.0