This is the JSON structure when I need to send the notification to specific device using Firebase. So how should I modify it to send the same notification to all of the devices or couple of selected devices?
{ "notification": {
"title": "Quiz App",
"text": "Your Quiz has submitted Successfully."
},
"to" : "Unique Key"
}
What will be the JSON structure for sending the push notification to all of the devices using Firebase in android?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…