We are using Multipeer Connectivity (MCSession, MCNearbyServiceBrowser, MCNearbyServiceAdvertiser) for nearby peer discovery and communication.
**Observed behaviour: **
When Wi-Fi is ON (Not connected to any network) and Mobile Data is also ON:
- Peer discovery (foundPeer) consistently succeeds
- Invitation is sent using invitePeer
- MCSession transitions to .connecting
- The session remains indefinitely in .connecting
- connected is never reached
- notConnected is also not reported
When Mobile Data is turned OFF, the same flow reliably reaches .connected.
Key details:
- Both devices have Wi-Fi and Bluetooth enabled
- Browsing and advertising are active on both devices
- Application-level timeouts and session resets are implemented
- The Issue is reproducible across multiple devices with iOS 26 versions.
Expectation / Question:
We understand that Multipeer Connectivity does not use cellular data for peer discovery or transport. However, when Wi-Fi is available and peers are discovered successfully, we would like clarification on the following:
- Is it expected behavior that enabling Mobile Data can cause the invitation/connection phase to remain indefinitely in .connecting without transitioning to .notConnected?
- Are there recommended best practices to avoid stalled invitation or transport negotiation in this scenario?
- Is there a supported way to detect or recover from a stalled .connecting state beyond application-level timeouts and session resets?
Any guidance on expected behavior or recommended handling would be appreciated.