IOS 15 multipeer connect keepalive

After upgrading to IOS15, I'm getting disconnects using multipeer connect when the network is not in use. Sending manual keep alive messages every second seems to prevent this from happening.

This only occurs when devices are connected directly and not via wifi infrastructure

Has the underlying implementation of MultipeerConnect changed in IOS15 (ie no longer NSNetService)?

Hi corin, some of my users reported frequent disconnection issues in multipeer connectivity. I could reproduce them only in situations when switching off WiFi forces MCSession to use Bluetooth. Does that match your observations? Have you found another workaround or even the root cause in the meantime?

I observe the same on my iOS 15 device. It seems sending keep-alive is the easiest solution what can be made.

IOS 15 multipeer connect keepalive
 
 
Q