You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am creating periodic work by WorkManager.getInstance(context).enqueueUniquePeriodicWork(TAG_PERIODIC_WORK, ExistingPeriodicWorkPolicy.KEEP, syncRequest)
and if I subscribe to LiveData I can see state changes, from RUNNING to ENQUEUED, as periodic never has SUCCEEDED state. But with same RxObservable I can get only onComplete when work is canceled, never getting any state change in onNext or anything in onError. Work is Completed with Result.success(), I can see log from WorkManager.
Thanks.
The text was updated successfully, but these errors were encountered:
Hi,
I am creating periodic work by
WorkManager.getInstance(context).enqueueUniquePeriodicWork(TAG_PERIODIC_WORK, ExistingPeriodicWorkPolicy.KEEP, syncRequest)
and if I subscribe to LiveData I can see state changes, from RUNNING to ENQUEUED, as periodic never has SUCCEEDED state. But with same RxObservable I can get only onComplete when work is canceled, never getting any state change in onNext or anything in onError. Work is Completed with Result.success(), I can see log from WorkManager.
Thanks.
The text was updated successfully, but these errors were encountered: