fluttercommunity / flutter_workmanager

A Flutter plugin which allows you to execute code in the background on Android and iOS.
825 stars 247 forks source link

Periodic Task not working in killed state #539

Open prabhakar1992 opened 4 months ago

prabhakar1992 commented 4 months ago

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.

sajjatdev commented 4 months ago

ios or android

prabhakar1992 commented 4 months ago

@sajjatdev I have observed this issue in Android device.

sayedmoataz commented 2 months ago

ios or android

not working for me at both

krishnaji-yedlapalli commented 1 month ago

For me also not working, any update on this?

sagar1garg commented 1 month ago

It works in killed state when isInDebugMode: true but when it's disabled it stops working. How to fix this?

rodrideveloper commented 1 month ago

Hello!!! still happen it?

sagar1garg commented 1 month ago

yes

Jokez80 commented 1 month ago

Hi this is the same for me also.

zjnny commented 2 weeks ago

Android need to allow background service for your app(Power saving mode or other optimization about background servce will make workmanager not work)