flutter_workmanager
flutter_workmanager copied to clipboard
Periodic Task not working in killed state
I want to parodically call the workmanager to sync the data on server. It is working fine when app is in foreground and background. But when I killed the app from tasks. It is not working. But In native android code in same scenario, periodic workmanager is working.
ios or android
@sajjatdev I have observed this issue in Android device.
ios or android
not working for me at both
For me also not working, any update on this?
It works in killed state when isInDebugMode: true but when it's disabled it stops working. How to fix this?
Hello!!! still happen it?
yes
Hi this is the same for me also.
Android need to allow background service for your app(Power saving mode or other optimization about background servce will make workmanager not work)
I had the same problem until I realised I was enabling the battery save mode on my phone. once I disable it it works fine for me