简体   繁体   中英

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.

I am sending data in format data payload for example:

{
    "to":"firebase_id",
    "data":{
        "message":"push notification finally received",
        "title":"hello firebase"
    }
}

我怀疑是否有一个遮篷,如果整个应用程序被杀死(不仅关闭活动,服务也被杀死)-没有解决此问题的方法,但是在再次启动应用程序后它应该可以正常工作

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM