Skip to content

iOS: Warning! No event channel set up to report a connection update, notifications not working #385

@JimTompkins

Description

@JimTompkins

Describe the bug
I get a "Warning! No event channel set up to report a connection update" when trying to connect on iOS. The warning is not present on Android with similar code (on Android I use connectToAdvertisingDevice and on iOS connectTo).

On Android, I can successfully subscribe to a notification. On iOS, I do not receive any notifications. I'm not sure if this warning is related to the notification issue or not. I can successfully connect, read and write on iOS (although I had to change from writeWithoutResponse to writeWithResponse, as others have suggested).

To Reproduce
Steps to reproduce the behavior:

  1. try to connect with this code: ble.dart

Expected behavior
Should connect without the warning as it does on Android.

Smartphone / tablet

  • Device: iPhone6
  • OS: iOS13
  • Package version: 4.0.0

Peripheral device

  • Vendor, model: custom
  • Does it run a custom firmware / software: yes

Additional context
The missing notifications on iOS work on Android and also using nRF Connect.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingiOSiOS-specific ticket

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions