Feature Request: Multiple attachments per message for Messages Extensions

Originator:falcon.ser
Number:rdar://28278565 Date Originated:13-Sep-2016
Status:Open Resolved:
Product:iOS SDK Product Version:iOS 10.0.1 (14A403)
Classification:Enchancement Reproducible:Always
 
Summary:
There is an undocumented limitation for one attachment per message for Messages Extensions. 
It may work good for many apps, but in some cases, this limitation leads to worse user experience.
In our app user have a possibility to scan a document containing few pages and then attach it using PDF or JPEG format. 

When JPG format is selected the only way we can provide that functionality is attach one page, ask the user to send it manually (as there is no programmatic way to send a message due to security reasons) and then repeat that for each page.

Meanwhile, this functionality is already implemented and flawlessly work for Photos app Messages Extension, where it is possible to add few attachments.

Steps to Reproduce:
1) Add attachment (for example 1st page)
2) Add other attachment (for example 2nd page)


Expected Results:
Both attachments visible in message compose control and would be sent after user's action.

Actual Results:
Second attachment replaces 1st, which is discarded and can't be accessible anymore.

Version:
iOS 10.0.1 (14A403)

Notes:
Please find sample project attached.
After two or more consequent presses on "Attach sample.txt" button only one attachment will be sent.

Configuration:
Any iOS Device

Attachments:
'MessagesAttachmentNameSample.zip' was 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!