-
I am using tasker heavily and one problem I encounter often is the freezing due to HTTP requests. Because the HTTP Request action has to wait for the request to complete or time out before proceeding with the next action, it often bottles up all my pending requests. So, I have been looking for any alternatives to run HTTP requests in parallel and found HTTP-Shortcuts. It looks perfect to me. However, HTTP-Shortcuts would show a waiting animation if the request takes some time to complete (e.g. slow network), and it would block screen. Even if I disabled the permission of drawing over other apps, it still shows. Is there anyway to run HTTP-Shortcuts completely silently in background without showing any animations? Many thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
There is a possibility, yes. It's currently a hidden/experimental feature and therefore not really documented, but it might work for your usecase. In order for a shortcut to run without the blocking loading indicator, the following conditions need to be fulfilled:
Furthermore, it might also be necessary to enable the "Draw over other apps" permission, as the Tasker integration sometimes doesn't work properly without it. If all of the above conditions are met, the HTTP Shortcuts app will try to run your shortcut in a sort-of "headless" or "UI-less" mode. When used with Tasker, Tasker will not wait for the response and continue immediately. As this feature is not fully fleshed out and still subject to changes (I'm hoping to soon make this much more useful and discoverable) I currently can't promise that this will solve your issues, but it might. |
Beta Was this translation helpful? Give feedback.
There is a possibility, yes. It's currently a hidden/experimental feature and therefore not really documented, but it might work for your usecase. In order for a shortcut to run without the blocking loading indicator, the following conditions need to be fulfilled: