Avoiding Shortcut Intent Timeout When Uploading or Downloading Large Files

Hey everyone,

I have an issue I'm running into – maybe someone has the expertise to help!

I've created an app that adds Intents to the Shortcuts app, to interact with S3-compatible object storage. Everything works fine, until you decide to upload/download a large file, that your internet connection cannot handle in the ~30-second intent timeout.

I've explored uploading files with a background task which seems to work somehow, but the bigger issue would be downloading larger files, as other parts of the subsequent shortcut may rely on it.

To the question: Is there some way of increasing the timeout for a shortcuts intent, or a way to "trick" shortcuts into letting my custom intents download/upload files without timing out?

Thanks so much!

Avoiding Shortcut Intent Timeout When Uploading or Downloading Large Files
 
 
Q