Multipeer Connectivity: -[MCSessionDelegate session:peer:didChangeState:] doesn't always get called when peer is out of range

Originator:jiayong.ou
Number:rdar://17640200 Date Originated:11-Jul-2014 05:24 PM
Status:Closed Resolved:08-Aug-2014 04:23 PM
Product:iOS SDK Product Version:
Classification:Other Bug Reproducible:Sometimes
 
Summary:
Sometimes, when the connection to a peer is dead, `-[MCSessionDelegate session:peer:didChangeState:]` doesn't get called with `MCSessionStateNotConnected` as state. The peers is still in the session, but attempt to communicate with it will silently fail.

Steps to Reproduce:
Connect peers into a session, move one peer out of range

Expected Results:
`-[MCSessionDelegate session:peer:didChangeState:]` will eventually be called with state `MCSessionStateNotConnected`.

Actual Results:
`-[MCSessionDelegate session:peer:didChangeState:]` not always called with state `MCSessionStateNotConnected`.

Version:
iOS 7.1.2

Notes:


Configuration:
All configurations

Attachments:

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!