Why is Android Worker finishing successfully and calling onStopped()

后端 未结 3 921
情深已故
情深已故 2021-01-13 07:55

My current Android app employs androidx.work:work-runtime:2.2.0-rc01

My Worker code resembles this:-

class SyncWorker(context: Context,          


        
3条回答
  •  逝去的感伤
    2021-01-13 08:31

    The bug is already fixed in version 2.3.0-alpha02 and higher. So I changed my dependencies and I couldn't reproduce it anymore:

    implementation "androidx.work:work-runtime:2.3.0-alpha03"
    

提交回复
热议问题