Workmanager's 15 Minute Periodicworkrequest Doesn't Run For 6+ Hours Straight
Similar question: Android workmanager scheduled worker lost after task killed The answer here suggests that this is a problem with specific manufacturers, but I am using an Androi
Solution 1:
try to check working your code in the Doze mode as described it here
Maintenance windows in Doze won’t happen frequently. First window occurs an hour after last activity, the next after two, the next after four and so on. But it doesn’t matter that much since user isn’t even moving her device anyway.
- Maybe you have another choice: Schedule tasks with WorkManager
Post a Comment for "Workmanager's 15 Minute Periodicworkrequest Doesn't Run For 6+ Hours Straight"