WorkManager doWork callback is not received in Redmi and other custom Chinese ROM when device got rebooted and force closed the app

邮差的信 提交于 2019-12-04 19:05:07

Which version of WorkManager are you using ? We fixed a few bugs with respect to PeriodicWork and force-stopping of apps in alpha05. alpha06 is out, and I recommend you try using it. If you still have the same problem, please report back on the issue tracker with a reproducible test case on the issue tracker.

<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" /> <uses-permission android:name="android.permission.WAKE_LOCK" />

Add these permissions in your manifest file it may work.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!