[英]android push notification is not working when app Killed or force stop in Mi 4i
android push notification is not working when app Killed or force stop in Mi 4i I wrote code android firebase push notification is working fine in Moto g4 and Smsung S6 but its not working in Xaimoi Mi 4i when app is killed. 当应用程序被杀死或在Mi 4i中强制停止时,android推送通知不起作用我编写了代码android firebase推送通知在Moto g4和Smsung S6中工作正常,但在应用程序被杀死时在Xaimoi Mi 4i中不起作用。
I am sending data in format data payload for example: 我正在以数据有效负载格式发送数据,例如:
{
"to":"firebase_id",
"data":{
"message":"push notification finally received",
"title":"hello firebase"
}
}
我怀疑是否有一个遮篷,如果整个应用程序被杀死(不仅关闭活动,服务也被杀死)-没有解决此问题的方法,但是在再次启动应用程序后它应该可以正常工作
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.