小编Abh*_*hur的帖子

Firebase 消息传递 - 什么是“content_available”:true

我看到了很多 firebase push 的例子,比如

{ 
  "to" : "egu9jGiMcew:APA91bFv2Rewdz.....KZZmEURvbq-aA2", 
  "data": { 
    "id": 19, 
    "title": "Title test", 
    "msg": "Text of the test", 
    "code": 2, 
    "infosUrl": "ttp://www.secondguide.tours", 
    "longitude": 5.5, 
    "latitude": 44.5, 
    "eventLocation": "nowhere", 
    "startDate": "24/07/2016", 
    "endDate": "25/07/2016", 
  }, 
  "delay_while_idle" : false, 
  "priority" : "high", 
  "content_available" : true 
} 
Run Code Online (Sandbox Code Playgroud)

我没有达到目的

"delay_while_idle" : false,    
"priority" : "high",   
"content_available" : true
Run Code Online (Sandbox Code Playgroud)

在这一点上,有人可以解释一下吗?

android firebase firebase-cloud-messaging

3
推荐指数
1
解决办法
8860
查看次数