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

Adding support for registerForConnectionEvents #53

Merged
merged 1 commit into from
Jul 27, 2024

Conversation

corujautx
Copy link
Contributor

This adds support for registerForConnectionEvents in CentralManager which was missing in the original implementation.

Not sure if the way I did is a good idea (I went for the simplest route), might be the case it makes more sense to use together with connect or disconnect.

My use case is that we passively wait for reconnection using the library in our project when we restore the state or lose connection.

@manolofdez
Copy link
Owner

Looks great to me! Thanks for contributing!!

@manolofdez manolofdez merged commit 8161af7 into manolofdez:main Jul 27, 2024
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.

2 participants