flutter_workmanager
flutter_workmanager copied to clipboard
🐞 Stop background service when app is closed
- [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
Output of flutter doctor -v
any update ??
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.