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

User Able To Disconnect Without First Establishing a Connection #15

Open
christianrolph opened this issue Jan 29, 2023 · 1 comment
Open

Comments

@christianrolph
Copy link

Describe the bug
The bridgefyDidConnect(with userID: UUID) function never seems to be called when there's a new connection. I have my application running on two phones. When I quit the application on the first phone, the second phone fires the bridgefyDidDisconnect(from userID: UUID) function. It even has the correct UUID from the other phone. However, the bridgefyDidConnect function was never fired.
Additionally, broadcast messages don't seem to be received from either phone.

To Reproduce

  1. Start application on phone A
  2. Start application on phone B (phone A shows that it sends a message)
  3. Try to broadcast messages between phones A and B (does not work).
  4. Wait a few minutes and quit application on phone B.
  5. Phone A will trigger bridgefyDidDisconnect and have the correct UUID for phone B, however it never executed bridgefyDidConnect when the connection was initially established and it didn't receive any of the broadcast messages.

Expected behavior
bridgefyDidConnect function should fire when there's a new connection.
Phones A and B should be able to receive the broadcast messages.

Smartphone (please complete the following information):

  • Device: iPhone 14 Pro Max and iPhone 14 Pro
  • OS: iOS 16.3
@ghbfy
Copy link
Contributor

ghbfy commented Feb 28, 2023

Hi @christianrolph.
Please let me know if the problem persists on version 0.3.0

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

No branches or pull requests

2 participants