Widget issue: BroadcastQueue: Background execution not allowed: receiving Intent

前端 未结 2 1839
不思量自难忘°
不思量自难忘° 2021-01-13 09:07

My app widget stops working after upgrading to targetSDk to 28.

  • It is flawlessly working on old targetsdk devices.

I am getting the following e

2条回答
  •  半阙折子戏
    2021-01-13 09:26

    This worked for me! Change your implicit intent to explicit intent, because starting Oreo implicit intents don't run in background! https://developer.android.com/about/versions/oreo/background.html

提交回复
热议问题