HomeiOS Developmentios - Can we use an AppIntent to set off background fetching?

ios – Can we use an AppIntent to set off background fetching?


Our objective is to construct an iPad app which fetches information each 5 minutes, with out the app ever being opened. (The app is a backup for emergency use.) Background duties will not work if the app may be very not often opened. One concept is to reveal an AppIntent after which to make use of the Shortcuts app and setup “Automations”. Then we setup an Automation to set off the AppIntent.

I imagine that by setting openAppWhenRun to false, we will create an AppIntent which could be run with out the app being opened, and even the display being on.

My query is, can we carry out HTTP requests and so forth from a non interactive AppIntent invocation that’s triggered by a Shortcuts Automation?

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments