PhilipsHue / flutter_reactive_ble

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

iOS - no data on subscription just before disconnect from device #812

Open TitouanBourveauEXFO opened 10 months ago

TitouanBourveauEXFO commented 10 months ago

Describe the bug' [iOS only] When the connected device send a data in a notification characteristic just before stopping the connection itself, the subscription in the app doesn't receive the data.

To Reproduce You need a device that send data just before disconnecting itself. Steps to reproduce the behavior:

  1. Connect to one device using connectTo()
  2. Subscribe to a non-protected characteristic
  3. The device send data and disconnect right after it

Expected behavior We must receive the data in the subscription just before the subscription is canceled by the disconnection.

Smartphone / tablet

Peripheral device