MSConversation should keep last received MSMessage

Originator:matthewaherz
Number:rdar://27928485 Date Originated:8/19/2016
Status:Open Resolved:
Product: Product Version:iOS 10
Classification:Enhancement Reproducible:
 
Currently the only way to retrieve an MSMessage is by having the user select one explicitly. This becomes a program when starting a collaborative process. 

In this scenario, User B does not have the Message App Extension open:
User A sends an MSMessage to User B to start a game.
User B goes into the conversation, but there is no way to retrieve that message programmatically without first tapping the message. At this point, there is no way to tell there is an open game session.

User B will be free to send a brand new game session to User A. 
At this point, the most I can do is know User A has an open game session pending and User B has an open game session pending. 

Requiring users to tap on the message (in this case, the message image itself works perfectly fine to display info and doesn't necessarily have to be tapped) shouldn't be required.

Steps to Reproduce:
Send an MSMessage to User B, with a URL, when User B does not have the message app extension open.

Have User B's message app extension attempt to retrieve the MSMessage from the first user without selecting the MSMessage

Expected Results:
User B opened the app and the message app extension can programmatically retrieve the last sent MSMessage, for example:
activeConversation.lastMessage

Actual Results:
No such lastMessage property exists

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!