Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
35 views

I’m having issues with my Android app’s notification system and scheduled background tasks. On some devices (such as the Google Pixel 8a), notifications are not received, the database doesn’t update ...
Sergio García Vico's user avatar
4 votes
0 answers
157 views

This relates to an unresolved issue on StackOverflow : Android 15 Foreground Service Timeout: How to call Service.stopSelf() when using WorkManager? We are launching a foreground service in ...
Cheok Yan Cheng's user avatar
3 votes
1 answer
74 views

Hilt keeps not initializing the Worker just because of sharedPreferences variable here @HiltWorker class AnilistNotificationWorker @AssistedInject constructor( @Assisted private val context: ...
Yusuf Talha Şanlıoğ's user avatar
1 vote
0 answers
56 views

I need some help with my MAUI .NET 9 C# project targeting Android 15 (API 35). I'm trying to schedule background jobs to run every 60 minutes, even when the app is closed and not in memory. From my ...
Alessandro's user avatar
2 votes
1 answer
82 views

I set a Worker to run at night, with setRequiredNetworkType(NetworkType.CONNECTED) and during the run, one of the errors occurred: Unable to resolve host "script.googleapis.com": No address ...
Viewed's user avatar
  • 1,453
1 vote
1 answer
81 views

I'm using WorkManager to show to users some notifications in case of their long inactivity in the app. So basically I detect if user left the app(app went to background or destroyed) in this case I'm ...
Jenya Kirmiza's user avatar
1 vote
0 answers
37 views

I can't understand why the WorkManager runs the Worker twice, not always just one of the many runs. For example, method enqueueWorkers receives an array with one element and enqueues it as a ...
Viewed's user avatar
  • 1,453
0 votes
0 answers
72 views

We've recently encountered this crash but haven't been able to identify the root cause, as the error appears to be coming from WorkManager. Workmanager version: androidx.work:work-runtime-ktx:2.7.0 ...
yorispr's user avatar
2 votes
2 answers
109 views

I am writing an app that needs to schedule a one-time notification for a specific time in the future. I'm generating the notification via WorkManager. In particular, I'm using setInitialDelay for the ...
BobDoolittle's user avatar
  • 1,892
0 votes
0 answers
32 views

I have a project that runs a Live WallpaperService that displays an image from a web source chosen by the user. The wallpaper is updated via a PeriodicWorkRequest that fetches the latest image from ...
Mackovich's user avatar
  • 3,659
1 vote
1 answer
572 views

I'm developing a Flutter app that uses the workmanager plugin for background tasks. The app works fine on iOS, but I'm encountering build issues on Android. Here's my setup: Flutter Workmanager Build ...
EVAN's user avatar
  • 11
1 vote
1 answer
221 views

I am creating a backup app which backs up some files at night. Because it needs to be every night around the same time I'm using a OneTimeWorkRequest which will be scheduled again after the last time ...
Kevin van Mierlo's user avatar
0 votes
1 answer
47 views

I had to use WorkManager on a mobile app, so it can gather current user emergencies using a PeriodicWorkRequest. But because of my lack of documentation, I implemented it in a bad way, and I ended up ...
Baptiste's user avatar
0 votes
0 answers
76 views

Trying to create a MAUI App using SQLLite database service, and for the Database service to be used by both UI pages and WorkManager background workers. I have registered the Database service as a ...
EdwinD's user avatar
  • 1
0 votes
2 answers
170 views

I have created an Android Widget using Jetpack Glance, I need to update it using CoroutineWorker so I am using WorkManager for it, here is the sample code class MyWidget : GlanceAppWidget() { ...
BraveEvidence's user avatar
1 vote
1 answer
82 views

I am trying to implement a worker that updates my weather data every 1.5 hours. I am using PeriodicWorkRequestBuilder and have specified the time as shown in my code: @RequiresApi(Build.VERSION_CODES....
James Taufa's user avatar
0 votes
0 answers
73 views

I'm working on an application that uses WorkerManager for background tasks, most of the time it's used to send requests to the backend and process the received data, I thought it would be a great idea ...
Anton Turchenko's user avatar
0 votes
0 answers
61 views

how to do this if Context is only available in onCreate so workManagerConfiguration can't be initialised? class MyApplication : Application(), Configuration.Provider { lateinit var appContainer: ...
daispe's user avatar
  • 9
0 votes
0 answers
49 views

I have a WorkManager Worker that has a required network type of NetworkType.UNMETERED as a constraint. It shows a notification while it's running. When the device loses connection to wifi and goes to ...
bernardo.g's user avatar
0 votes
1 answer
78 views

I am writing an application to download 6 files of size 500 MB approx. I implemented the download manager and it was working fine but find a few issues in production like "Android DownloadManager ...
Rahul Chaudhary's user avatar
1 vote
1 answer
150 views

The application requires periodic (15-30 mins) data synchronization with the backend. I implemented this using the WorkManager API, but I encountered the issue that synchronization only triggers when ...
Andrey Zyritel's user avatar
0 votes
1 answer
203 views

In my CoroutineWorker.doWork() of an OneTimeWork, a CancellationException was caught. But I am sure I never cancel it. Is it possible the android OS cancel my worker? If so, where can I find the ...
progquester's user avatar
  • 1,896
-1 votes
1 answer
50 views

In an Android app, let's say there is a settings screen and the settings are stored on a server. Whenever the user changes settings a state-modifying HTTP call (POST/PUT/PATCH/DELETE) is made. What is ...
Peter F's user avatar
  • 4,341
0 votes
0 answers
104 views

I'm developing a timer app using WorkManager. When the timer starts, it runs in the doWork method of WorkManager. However, while the timer is running in the background through doWork, if the user ...
philo's user avatar
  • 13
1 vote
1 answer
137 views

I'm working on an Android App to send out notifications when a date stored in a local database is reached. To do this, I'm attempting to use a periodic work request that will call a function to ...
Joshua Luscher's user avatar

1
2 3 4 5
28