flutter_workmanager icon indicating copy to clipboard operation
flutter_workmanager copied to clipboard

🐞 Stop background service when app is closed

Open muhammadumairaslam opened this issue 2 years ago • 2 comments

  • [x] I have read the README
  • [x] I have done the setup for Android
  • [ ] I have done the setup for iOS
  • [x] I have ran the sample app and it does not work there

Version

Technology Version
Workmanager version 0.5.2
Platform Android 9
Device manufacturer / model Infinix HOT 8 / Infinix X650C
Flutter version 3.13.6

Describe the error Steps to reproduce the behavior:

downloaded your given example install into mobile via flutter run --release then close the app. after few minutes app stop automatically.

Android $ adb logcat image

Output of flutter doctor -v image

muhammadumairaslam avatar Oct 18 '23 05:10 muhammadumairaslam

any update ??

dipuapp avatar Oct 29 '23 12:10 dipuapp

Been seeing the work manager don't work on 0.5.2 on my app in the background as well. The logcat shows:

Error executing JobStatus{93a06b7 #u0a838/-1606274221 com.mgprojects.weatherwise/com.google.android.datatransport.runtime.scheduling.jobscheduling.JobInfoSchedulerService u=0 s=10838 TIME=-32s984ms:none NET READY}

But on launching the app, the work manager continues to work for the day. The next day, again it dies.

milindgoel15 avatar Oct 30 '23 06:10 milindgoel15