Shortcuts beta does not include callback data when using "Open X-Callback URL" action

Originator:Devin.McKaskle
Number:rdar://43264834 Date Originated:13-Aug-2018 09:01 PM
Status:Open Resolved:
Product:iOS + SDK Product Version:2.0
Classification:Serious Bug Reproducible:Always
 
Summary:
The shortcuts beta is missing the X-Callback parameters that are laid out in the spec (http://x-callback-url.com/specifications/). Without these parameters, apps that are opened with the “Open X-Callback URL” action have no way to give control back to the Shortcuts app.

Steps to Reproduce:
Create a new Shortcut in the Shortcuts beta with the following actions:

1. URL
2. Open X-Callback URL

The URL should be one of a third party app that supports x-callback-url (http://x-callback-url.com/apps/).

Expected Results:
The URL should be opened with `x-success`, `x-error`, and `x-cancel` query items appended to it. The values of those query items should conform to the X-Callback URL specification (http://x-callback-url.com/specifications/).

Actual Results:
The URL that is opened is exactly the same URL that is given as input. No X-Callback parameters are appended.

Version:
2.0

Notes:
This was correctly done in the Workflow app. The action made it through the transition from Workflow to Shortcuts, but this issue prevents the action from being usable at all.

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!