Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
(iOS) please connect == false followed by please connect == true will cause connection faliure #699
Right now if thaliMobileNativeWrapper gets a peerAvailabilityChanged event from the native layer with available === true and pleaseConnect === false then it will call createPeerListener and create a listener.
If we then get another peerAvailabilityChanged event with available === true but now pleaseConnect === true (e.g. the other party wants to connect to us but per the iOS protocol needs us to initiate) then we will just return the port for the existing listener and do absolutely nothing, we won't actually initiate the connection.