Android Studio Work Manager Strange behaviour

吃可爱长大的小学妹 提交于 2020-12-13 11:19:39

问题


I have an application name com.example.xyz that is right now on the play store. I used Android studio Latest 4.0 to build it.

After Serval days of testing what I notice that the Periodic work manager for android os 27,28,29 does not work if the app is killed from the background with and without proguard .The device tested was on one plus 7T and Nokia 5.1+

Later I build the same code with different application id name and on android studio 3.6. I found out the work manager was now working flawlessly. But when I changed back the application id back to com.example.xyz. It again stopped working.

In this entire process, I clean build entire Gradle build the new app with an android studio with the same app id , But it was not working.

I concluded that there is some problem with Android Studio 4.0 for work manager. The strangest thing was the application id . That I don't know how to tackle this.

The application works on Nokia 5.1+ with the same method but not with one plus 7T or any other one plus devices.

来源:https://stackoverflow.com/questions/62848021/android-studio-work-manager-strange-behaviour

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