Skip to main content

Questions tagged [background-task]

A background task is a task that is scheduled to run in the background, while the main application stays responsive.

background-task
1 vote
0 answers
37 views

How can I read the response body in a FastAPI middleware without making my endpoint wait for its background tasks to finish? [duplicate]

Sure, here is a clearer version of the text in English: The provided code shows a FastAPI middleware implementation, which performs an operation with the HTTP response details before returning the ...
João Pedro Zimmermann's user avatar
1 vote
0 answers
23 views

FlutterBackgroundTask - Issue in android 14 (API 34) (flutter_background_task)

We were trying to enable screen share feature in a video conference. It need to run a service in the background. So using this package enabled the feature, but when changed the 'targetSdkVersion' ...
Inquisitive Owl's user avatar
0 votes
0 answers
26 views

Is essential flutter home widget for working some feature of my app is okey for user experiance?

I'm trying to make a flutter project and I won't go into details, but I have an issue where some feature of my app can only work in real-time, which means installing the necessary home widget for this ...
armada's user avatar
  • 31
0 votes
0 answers
28 views

Xamarin.Android: Background Task needed for periodical checks

I have a Xamarin.Forms app. On Android it should start a background task that periodically does some checks and in some cases displays a notification. This background task should not stop when the app ...
Bernd Morgeneyer's user avatar
1 vote
0 answers
29 views

How to launch app when app is terminated an phone idle?

I need to make an app that shows phone features on its own in a showroom. App will demonstrate about phone and phone will be usable with other apps installed. Whenever User quits the app and finished ...
Muhtar's user avatar
  • 1,682
1 vote
2 answers
55 views

UWP background tasks: Does it run indefinitely? How to check if it is already running?

From a UWP app I start the following UWP background task using BackgroundTaskBuilder: namespace Background.UWP { public sealed class BackgroundTask : IBackgroundTask { private ...
Bernd Morgeneyer's user avatar
0 votes
1 answer
66 views

Set an event on ToastButton from background task

From a UWP application I start this background task: namespace Background.UWP { public sealed class BackgroundTask : IBackgroundTask { private WatchLoop _watchLoop; public ...
Bernd Morgeneyer's user avatar
0 votes
0 answers
30 views

React Native keep location tracking and websocket active when app is on background

i have a project in react native that sends via websocket real-time coordinates via a node backend server and after im receiving them from a react frontend page. The problem i have is that when the ...
Ioannis Kaldellis's user avatar
0 votes
0 answers
241 views

expo-task-manager background task doesn't run in the background on iOS

This is one of my first posts ever. When I'm stuck I usually just hit my head against a wall, but today I'm asking for help. I've got a ReactNative app built using Expo which does some realtime ...
taylormahony's user avatar
0 votes
0 answers
23 views

How to run multiprocessing inside a backgroundTask in FastAPI? [duplicate]

I have an API, which will call 10 functions inside it. Now these 10 functions can take up more than 5-10 min and these functions need to run one be one. To achieve this, I am using backgroundTask ...
Punit Tiwari's user avatar
0 votes
0 answers
28 views

Enabling a disabled button upon a notification being presented to the user

I am trying to enable a disabled button in iOS by using an observer when a notification is presented to the user. When an image is uploaded it is blurred, then 24 hours after the image is uploaded, a ...
andrew johnson's user avatar
1 vote
0 answers
166 views

Streamlit + FastAPI : how to dealing with long running process (10min)?

I need to deal with the current issue : in my frontend (streamlit), I'd like to get a file (such as excel), send it to my backend (with FastAPI). The backend will work with a BackgroundTasks during ...
Nicolas's user avatar
  • 103
1 vote
0 answers
93 views

Can I handle a BGProcessingTask with SwiftUI's backgroundTask(_:) scene modifier?

I'm working on an app that needs to process cached location data in the background periodically. While the task usually completes in less than 30 seconds, it could potentially be battery- and network-...
ConfusedByCode's user avatar
0 votes
0 answers
53 views

React Native Background Task Termination on Device Lock in Android OS <= 13

Despite enabling battery optimization setting, I'm facing an issue in my React Native Android application where background tasks, managed by react-native-background-timer and react-native-background-...
Ambreen Kanwal's user avatar
0 votes
0 answers
46 views

BGTask running while iPad is awake--how is this possible?

We have been using the BGTask (specifically a BGProcessingTask) reliably for the last couple of years for our app. Up until now they wake up automatically while the screen is off, the iPad is plugged ...
James Toomey's user avatar
  • 5,921

15 30 50 per page
1
2 3 4 5
49