Android Work Manager periodic work request not repeating when app is cleared from recents

241 views Asked by At

I have implemented a periodic work request using android work manager, the work is getting repeated if app is in foreground or background.

But when the app is cleared from recents, the work manager stops repeating the work.

Is there a solution or work around for this??

1

There are 1 answers

1
Abdelrahman Hussein On

try to run the app from launcher or generated apk , not from the android studio ( play green icon ) and see if you have the same issue