Messages.app advertises live photos to action extensions as arbitrary image (public.image) and is sharing a jpeg.

Originator:steipete
Number:rdar://30098470 Date Originated:19-Jan-2017 06:37 PM
Status:Open Resolved:
Product:iOS + SDK Product Version:10.2
Classification:Other Bug Reproducible:Always
 
Peter Steinberger

Area:
UIKit

Summary:
When using the Messages.app to share a Live Photo to an Action Extension, the extension system tells the extension that a public.image is shared. When retrieving the item as URL, a URL with the .jpg extension is handed to the extension. Messages should share the live photo and should advertise the fallback jpeg as public.jpeg.

Steps to Reproduce:
- Install the sample project on an actual device / run the ImageSharing target on that device
- Go to Messages.app
- Open a Live Photo
- Tap the action button
- Tap the ImageSharing action extension

Expected Results:
The image is shown in the appearing view controller from the action extension.

Actual Results:
An error is shown, telling you that only an arbitrary image was shared.

Version:
10.2

Notes:
Mirror for samples: https://github.com/PSPDFKit-labs/radar.apple.com/tree/master/29924679%20-%20MessagesLivePhotoImageSharing

Configuration:
Xcode 8.2.1

Attachments:
'Archive.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!