Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Bluejay.swift #227

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

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