Skip to content

Conversation

@BlueCorso
Copy link

Fixes #119

Fixed bug in start with mode .use (added missing restoration centralManager delegate) and then added queue.start()

Summary of Problem:

There is a missing delegation restoration when using start with mode .use
(we were forced to use start with mode .use because in iOS 13 bluejay.start() and connect() no longer work after another cbCentralManager has completed a scan (prior to iOS13, another scan with another cbCentralManager was not required )
For further info about this issue, feel free to contact me.

Proposed Solution:

When recycling a cbCentralManager we need to restore its delegation to bluejay.
Also it is necessary to add queue.start() to solve the issue in #119 "Queue is paused because CBCentralManager is not ready yet" as @jeremychiang proposed.

Testing Completed and Required:

Screenshots:

Fixed bug in start with mode .use (added missing restoration  centralManager delegate) and then added queue.start()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

It's impossible using Bluejay with some other libraries

2 participants