MultipeerConnectivity iOS 17 Connection Issue

The connection using MultipeerConnectivity between iPhones and iPads with iOS 17 or higher installed is not functioning. This issue was not observed on iOS 16 or earlier versions.

Currently, when advertising from an iPhone, the iPad can detect the device, but the event handling to accept invitations on the iPhone is not being triggered correctly. Consequently, not responding to invitations is preventing the connection.

While the Wi-Fi feature is enabled, previously, it was possible to establish connections without being connected to a specific Wi-Fi network. However, presently, connection seems to occur only when the iPad and iPhone are on the same network.

Moreover, irregular connections are occurring between iPhones, yet there is no connection whatsoever between iPads and iPhones.

We are facing issues in disconnection of distance of over 3 meters, previously it used to work around 10 meters as well. This is breaking our complete app use.

Just to set expectations here, the behaviour you’ll see here isn’t a feature of Multipeer Connectivity but rather of the underlying peer-to-peer Wi-Fi. It would, for example, affect Network framework just as much.

We are facing issues in disconnection of distance of over 3 meters, previously it used to work around 10 meters as well.

That seems like a very different issue from the one raised by XCAL. Regardless, there’s no API you can call to change this behaviour. Peer-to-peer Wi-Fi represents a tricky balancing act between range and reliability, and there’s been a general trend to prefer the latter over the former.

This is breaking our complete app use.

I recommend that you file a bug about this, making sure to include specifics about why range is so important to your product.

Please post your bug number, just for the record.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

I am posting again regarding the issue I previously raised. I conducted tests on devices running iPad OS 18.1 and iOS 18.0 to see if they could connect without being on the same wireless AP using the Multiconnectivity framework, and the results were the same as before. In search of alternative methods for communication between devices without connecting to the same wireless AP, I discovered the following technology:

https://developer.apple.com/documentation/technotes/tn3151-choosing-the-right-networking-api#Peer-to-peer-networking

After downloading and running the sample from the link below, I found that data transmission and reception between devices could be done freely:

https://developer.apple.com/documentation/network/building-a-custom-peer-to-peer-protocol

I hope this information helps other developers facing the same issue.

MultipeerConnectivity iOS 17 Connection Issue
 
 
Q