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

fix: re-subscribe after relay disconnections in NWAClient #331

Merged
merged 2 commits into from
Mar 3, 2025

Conversation

rolznz
Copy link
Contributor

@rolznz rolznz commented Mar 3, 2025

Code is copied from NWCClient subscribeNotifications (which seems to be working well there). In this case I think it's more complicated to try extracting the duplicated code, maybe we can revisit this if we have a third case where we subscribe like this.

Tested with Zappy Bird on iOS, plus locally with shutting down and restarting local relay

@rolznz rolznz requested a review from im-adithya March 3, 2025 07:58
Copy link
Member

@im-adithya im-adithya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK, left a minor typo comment

@rolznz rolznz merged commit 745f1c9 into master Mar 3, 2025
3 checks passed
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