Shared document should open in the app that owns the file type

Originator:adrian.schoenig
Number:rdar://47406335 Date Originated:19 Jan 2019
Status:Open Resolved:
Product:iOS UIKit Product Version:
Classification:Bug Reproducible:Always
 
When a user is sharing an iCloud Drive document of a document-based app using `UIDocumentBrowserViewController`, `UIDocumentPickerViewController` or `UIActivityViewController`, the recipient will get a message and upon tapping that link, the document will show in the Files app. *It would be nice, if the file could open directly in the app, if it's already installed.*

Steps to reproduce:

- Present `UIActivityViewController` providing both the URL to a document that is stored in iCloud Drive as well as a string.
- Launch the app and tap the "Add People" activity.
- Select message or mail and share it with someone.
- On the device of that other person, open the message.
- Tap the link in the message and confirm with "Open".

Expected result:

- If the app is installed, the document should open right in the app.

Actual result:

- The document is displayed in the Files app.

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!