0

我想使用Firebase雲消息傳遞服務向我所有使用該應用程序的用戶發送一些消息。我可以把數據有效載荷使用regisration_ids這樣的單個或多個設備:如何將數據載荷發送給使用Firebase雲消息傳遞的所有用戶?

{ 

    "data": { 
     "body":"body", 
     "my_custom_key" : "215", 
     "other_key" : true 
    }, 
      "registration_ids": ["dCmhVkVMmLw:APA91bE5.."] 

} 

但我怎麼發送數據有效載荷的所有用戶?

+1

的可能的複製[火力地堡雲消息 - 發送消息給所有用戶(http://stackoverflow.com/questions/39772167/firebase-cloud-messaging-send - 消息對所有用戶) –

回答

相關問題