Skip to main content
2 votes
1 answer
58 views

Singleton Dependencies in Background Task Channel / Hosted Background Service

I am working on creating some ASP.NET Core 8.0 Web API endpoints (in C#). There will be over 100 endpoints across 40-50 repositories that are all a part of the same platform ecosystem; it is not an ...
Jacob L.'s user avatar
-1 votes
0 answers
24 views

How to periodically check a JSON file from a remote host and trigger a local notification in background on modern Android (without Firebase)?

I'm developing an Android app (Flutter, but Android-specific solutions are fine as I only target Android), and I want to implement a background notification system without using Firebase. Goal: Host a ...
Moein mohammadi's user avatar
-2 votes
4 answers
139 views

ASP.NET Core Minimal API with backgroundservice [closed]

I have background worker which implements BackgroundService. I added this service in the beginning of my program.cs with builder.Services.AddHostedService<MyService>(); How can I get ...
Kamsiinov's user avatar
  • 1,489
0 votes
2 answers
124 views

BackgroundService event to trigger UI update in Blazor Server

Question Up Front: I am looking for a way to trigger a UI update from a BackgroundService in a Blazor Server app. I have a Blazor Server app that displays data from a DB. The data in the DB is sourced ...
Jexodus's user avatar
  • 44
3 votes
2 answers
236 views

Getting backgroundservicestartnotallowedexception in Android App

Crash 1 : Fatal Exception: java.lang.RuntimeException Error receiving broadcast Intent { act=com.google.analytics.RADIO_POWERED cat=[in.abc.android] flg=0x10 (has extras) } in com.google.android.gms....
Kunal Sen's user avatar
0 votes
0 answers
49 views

How to detect phone calls when the app is killed without using Foreground Service in Android?

Problem Statement I am developing an Android app that needs to detect incoming and outgoing phone calls, even when the app is killed. I have implemented a BroadcastReceiver (CallReceiver) to listen ...
Jay Panchal's user avatar
0 votes
0 answers
27 views

How to Implement Foreground & Background Services in React Native CLI (Latest Android SDK)?

I am working on a React Native CLI project and need to implement Android services, specifically Foreground and Background services. However, most of the tutorials I’ve found are outdated, and the ...
Prashant Shaw's user avatar
1 vote
1 answer
87 views

iOS Background Location Updates Not Working When App is Closed Using Flutter

The provided code snippet is part of a Flutter application that uses the flutter_background_service package to run background tasks. The onStart function is the entry point for the background service, ...
Rakibul's user avatar
  • 11
0 votes
0 answers
148 views

How can I run a background service with React Native to show a notification even with the screen off

I’m building a Pomodoro app with simple task management using React Native and Expo (Bare Workflow). I’ve just finished it, and I want to display a notification (with sound and a message in the status ...
Boris Findell's user avatar
0 votes
1 answer
100 views

How to Monitor Performance of Message Consumer Applications

I have developed a background service in .NET 8.0 which is responsible for receiving messages from an Azure Service Bus queue. The Program.cs has Application Insights configured as you can see in the ...
Sohlae's user avatar
  • 790
1 vote
0 answers
63 views

Restarting a basic .NET BackgroundService fails with System.OperationCancelledException

This is perhaps a misunderstanding how a BackgroundService works in comparison to the older full framework Windows Service implementations, but when attempting to call host.StartAsync(), after a call ...
Xorcist's user avatar
  • 3,361
0 votes
0 answers
45 views

How to perform long-running tasks in the background without show any notification?

I want to run an any update process silently in the background without showing a notification. Android's restrictions require notifications for long-running background tasks using Foreground ...
Kartikeya Gupta's user avatar
1 vote
0 answers
115 views

Flutter Background Service Works on Some Devices but Not Others

I'm working on a Flutter app where I need to implement background services to handle tasks such as fetching data or sending notifications while the app is in the background. The service works ...
Nehal Babu's user avatar
1 vote
0 answers
60 views

Could not resolve main entrypoint function when using flutter_background_service

i am developing an application that will hit an api containing user position from geolocator in background using flutter_background_service but sometimes this error occur and the service wont work. ...
Febiana Ramdani's user avatar
1 vote
0 answers
129 views

Flutter app does not able to restart background service automatically after stopped

I'm having a problem on flutter app im really so new on this framework and i need your help. Okay the task im trying to do is when there is alert send from the api, the app should provide notification ...
Yogaruban Ganason's user avatar

15 30 50 per page
1
2 3 4 5
64