Notifications don't come through when the app is closed

[亡魂溺海] 提交于 2019-12-01 21:44:50

It turns out the notifications worked fine whether the app was running or not. The problem was when the app was force-closed.

I think the actual problem is something along the lines of the BroadcastReceiver being killed when the app is force closed but I'm not sure.

This is just to close the question off because it's unlikely to be solved now that I realise the problem is different to the question title.

is your projects package really named "mypackage" ? and is your receiver etc. in that package? Because it looks like all "myPackage" should be repalced with "com.urbanairship"

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