Our goal is to build an iPad app which fetches data every 5 minutes, without the app ever being opened. (The app is a backup for emergency use.) Background tasks won't work if the app is very rarely opened. One idea is to expose an AppIntent
and then to use the Shortcuts app and setup "Automations". Then we setup an Automation to trigger the AppIntent
.
I believe that by setting openAppWhenRun to false, we can create an AppIntent
which can be run without the app being opened, or even the screen being on.
My question is, can we perform HTTP requests and so on from a non interactive AppIntent
invocation that is triggered by a Shortcuts Automation?