MessageKit localParticipantIdentifier unstable

Originator:sam.jc.davies
Number:rdar://26877767 Date Originated:18/6/16
Status:Duplicate Resolved:
Product:iOS Product Version:10
Classification: Reproducible:Yes
 
Summary:
The documentation states that the localParticipantIdentifier property on MSConversation is stable, provided the extension isn't uninstalled or disabled. This isn't the case (at least on the simulator). Subsequent calls to willBecomeActive yield different results.

Steps to Reproduce:
1. Create a new messages app
2. Load the new messages app
3. Break in MSMessagesAppViewController's willBecomeActive(with:) and check the value of conversation.localParticipantIdentifier.
4. Dismiss the messages app.
5. Repeat from step 2.

Expected Results:
The UUIDs should remain constant.

Actual Results:
They're different.

Version:
Xcode Version 8.0 beta (8S128d)

Notes:
Attached a somewhat trivial demo project, and some images of the log.

Configuration:
SimulatorApp-678.9 CoreSimulator-260.5 

Attachments:
'Screen Shot 2016-06-18 at 14.40.58.png' and 'LocalIdentifier.zip' were successfully uploaded.

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!