/ iOS shortcut ← manage

iOS Safari does not support the Web Share Target API, so the PWA share sheet integration only works on Android. On iOS, you can get the same result with an iOS Shortcut — it appears in the system share sheet and POSTs the file directly to your instance.

Setup

01
Open the Shortcuts app and create a new shortcut
Tap + in the top-right corner.
02
Add action: Receive Any input from Share Sheet
Search for Receive input → set type to Any.
Set "If there's no input" to Stop and respond.
03
Add action: Get Contents of URL
Search for Get contents of URL. Set the URL to:
Set Method to POST, Request Body to Form.
Add a field: key = file, value = Shortcut Input (the variable from step 2).
04
Add action: Get Dictionary Value
Get value for key url from the result of the previous action.
05
Add action: Copy to Clipboard (or Open URLs)
Use Copy to Clipboard to copy the resulting URL, or Open URLs to open it in Safari immediately.
06
Enable "Show in Share Sheet"
Tap the shortcut name at the top → toggle Show in Share Sheet on. Give the shortcut a name like Upload to Fileshare.
Usage: tap Share anywhere in iOS, select your shortcut from the list. The file is uploaded and the URL is copied to your clipboard (or opened in Safari).